Tavernacle Wiki tavernacle_en https://tavernacle.wiki.gg/wiki/Tavernacle_Wiki MediaWiki 1.39.0 first-letter Media Special Talk User User talk Tavernacle Wiki Tavernacle Wiki talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk Module Module talk Gadget Gadget talk Gadget definition Gadget definition talk Tavernacle Wiki 0 1 1 2021-11-29T15:17:56Z MediaWiki default 0 wikitext text/x-wiki <strong>MediaWiki has been installed.</strong> Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software. == Getting started == * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki] 5702e4d5fd9173246331a889294caf01a3ad3706 43 1 2022-12-20T14:36:41Z Westgrass 40 Westgrass moved page [[Main Page]] to [[Tavernacle Wiki]] wikitext text/x-wiki <strong>MediaWiki has been installed.</strong> Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software. == Getting started == * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki] 5702e4d5fd9173246331a889294caf01a3ad3706 45 43 2022-12-20T14:37:12Z Westgrass 40 wikitext text/x-wiki <strong>MediaWiki has been installed.</strong> Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software. == Getting started == * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki] [[category:{{SITENAME}}]] d91be28a1759f52728e0e70f2f833fb70e55679d Template:Extension DPL 10 2 2 2022-12-18T00:55:51Z DynamicPageList3 extension 44285 Autogenerated DPL's necessary template for content inclusion wikitext text/x-wiki <noinclude>This page was automatically created. It serves as an anchor page for all '''[[Special:WhatLinksHere/Template:Extension_DPL|invocations]]''' of [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:DynamicPageList3 Extension:DynamicPageList3].</noinclude> 087ffd4625ae7b1fea3436ec3f929e82ee739d29 MediaWiki:Common.css 8 3 3 2022-12-20T03:20:11Z Westgrass 40 Created page with "/*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 {..." css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #fff; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #100a33 url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 307px; --theme-site-logo-height: 145px; /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-background: rgba(0,0,0,0.65); --theme-box-background-color: rgba(0,0,0,0.65); --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px), rgba(0,0,0,0.3); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 1px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(0,0,0,0.5); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 14bad8af9737fb49a333e01eec7c6b3420e91d31 6 3 2022-12-20T03:26:06Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #fff; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: 376px; --theme-site-logo-height: 163px; /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-background: rgba(46, 35, 64, 0.8); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px), rgba(0,0,0,0.3); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 1px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(0,0,0,0.5); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 95be9f71545a975ae00d780204bf54d7eb8c0982 8 6 2022-12-20T03:35:21Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #fff; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(1126px / 2); --theme-site-logo-height: calc(492px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-background: rgba(46, 35, 64, 0.8); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px), rgba(0,0,0,0.3); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 1px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(0,0,0,0.5); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 16f8448a0048083f564b6e4d745e5bbbec17759b 9 8 2022-12-20T03:39:22Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #fff; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-background: rgba(46, 35, 64, 0.8); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px), rgba(0,0,0,0.3); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 1px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(0,0,0,0.5); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } c24f89bcbd0acd9d6dfec50dbe1e3621a51875c0 11 9 2022-12-20T03:46:18Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #fff; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-background: rgba(46, 35, 64, 0.96); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px), rgba(0,0,0,0.3); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 1px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(0,0,0,0.5); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } d24016e57dbd6e91ac39a327806538b322210309 13 11 2022-12-20T04:16:52Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-background: rgba(46, 35, 64, 0.96); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px), rgba(0,0,0,0.3); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 1px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(0,0,0,0.5); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #feb810; text-shadow: 0 0 1px #aa7719, 0 0 4px #feb810; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 471157344ce1b3924b3fafd094e39f1011ef1c42 14 13 2022-12-20T04:22:52Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-background: rgba(46, 35, 64, 0.96); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px), rgba(0,0,0,0.3); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 1px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(0,0,0,0.5); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 65e0b369410e551e8bc39b55774df80148fa1c3f 15 14 2022-12-20T13:39:16Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-background: rgba(46, 35, 64, 0.96); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px), rgba(0,0,0,0.3); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(0,0,0,0.5); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } eeefff2f2035f0e53ee6f93ce1f9bc860e0e30cc 16 15 2022-12-20T13:46:55Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.9); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 1px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: none; --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } b40c15c53f67470136f20d1403803731634e1540 17 16 2022-12-20T13:48:55Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: none; --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 1px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 8cce5f0c13f6536e50b252da7f30e1ff88a896b1 18 17 2022-12-20T13:53:29Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-background: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: linear-gradient(to top, rgba(0,0,0, 0.06), transparent 5px), var(--theme-box-background); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: none; --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } b18773ebbd0ac6801ab822b80f4669932944d1f7 19 18 2022-12-20T13:58:09Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), opacify(var(--theme-box-background-color), 0.3); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: none; --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } ebffa7c1e2808c2039949b38307c003bd6410952 20 19 2022-12-20T14:01:53Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: #2e2340; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), color.scale(var(--theme-box-background-color), $alpha: 30%); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: none; --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 277ddeb3985f1312eaa43a238a511bc72569ad79 21 20 2022-12-20T14:03:32Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.3); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: none; --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 3ef310b8e5a149baa23780e9dea32337ba8f5bd1 22 21 2022-12-20T14:03:48Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.7); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: none; --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 669296d30ec823abeadcb1654e481d722cf97fde 23 22 2022-12-20T14:04:16Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: none; --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 23caef09d2d68f21c6d81bf94583a4a6688cd8ba 24 23 2022-12-20T14:06:02Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.5); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } fcee43a64df7499156b14e105957c6cf6d5a969d 25 24 2022-12-20T14:07:43Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:#f2f2f2; --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 0px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.5); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 4807df3551eaec67ffcfdad0e71ccdc20071abc3 26 25 2022-12-20T14:08:20Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 0 solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.5); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 718a3e21d261886a69173d10a04e76be27a1ca8f 27 26 2022-12-20T14:09:30Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 0 solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.5); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 5a8720f3ff23ee62f90150186f7daafb29df5f4f 28 27 2022-12-20T14:11:28Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 0 solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 8px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 9592cc7f10c7335de85e528e2d2b1c1c1947993b 29 28 2022-12-20T14:12:24Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0; --theme-sidebar-list-border-top: 0 solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 8px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 5d3b866f090738aa4a086b6d502e9a71fd489a1e 30 29 2022-12-20T14:18:28Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 0px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ /* Error: expected "{". * , * 2 | drop-shadow(0 0 3px #ffc669); * | ^ * ' * sass\projectOnly.scss 2:31 root stylesheet */ body::before { font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono", "Droid Sans Mono", monospace, monospace; white-space: pre; display: block; padding: 1em; margin-bottom: 1em; border-bottom: 2px solid black; content: 'Error: expected "{".\a \2577 \a 2 \2502 drop-shadow(0 0 3px #ffc669);\d\a \2502 ^\a \2575 \a sass\\projectOnly.scss 2:31 root stylesheet'; } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 689bf09b9ad4d601431083c5f56052ccef4bd39d 31 30 2022-12-20T14:18:55Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(187, 242, 255, 0.25); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 0px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px #ffc669); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 6272af77585d3b9e6cd37e5468c7478d64cd962e 32 31 2022-12-20T14:19:45Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.5); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 0px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px #ffc669); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } a3cc2b5200c089e63331b155fd69ebe1192faad6 33 32 2022-12-20T14:20:17Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 0px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px #ffc669); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 899597f4caf952689a12d0212594c5084f826985 34 33 2022-12-20T14:20:46Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(116, 202, 255, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #72d2ff; --theme-button-border-color: #71cdff; --theme-button-background-active: #8ef5ff; --theme-button-border-color-active: #5dc2d9; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 0px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } c65c5486ff7199b2dd5541f07312192878a4ef3b 36 34 2022-12-20T14:23:43Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(236, 236, 236, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 0px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 755e55f910a9d9cd55688b9b6d3d310cea6e872b 39 36 2022-12-20T14:28:23Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(236, 236, 236, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { background: none; border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); background: var(--theme-sidebar-list-background); background-clip: border-box; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } a2655dd7f821e0ddb5b74e0482d73265fd6c41b3 40 39 2022-12-20T14:29:07Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(236, 236, 236, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(200, 200, 200, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 39b07d0c296bc20d4fac91e43037d126dfcdbf61 41 40 2022-12-20T14:30:11Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-City_of_Beats_Wiki.action-view h1.firstHeading, body.rootpage-City_of_Beats_Wiki.action-view .mw-body .mw-indicators, body.rootpage-City_of_Beats_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p { margin: 0 0 0.5em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent p:last-child { margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 1200px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .l { flex: 3 3 600px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .content-wrap .r { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header { text-align: center; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header .welcome h2 { font-size: 2em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul { display: inline-flex; align-items: center; margin: 1.5em auto 0.5em; gap: 1em; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header ul li { list-style: none; } @media (max-width: 600px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.header img { width: 32px; height: auto; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { display: flex; gap: 1em; } @media (max-width: 640px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game img { width: 100%; height: auto; max-width: 320px; max-height: 180px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.game p { font-size: 16px; line-height: 24px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { display: flex; gap: 1em; } @media (max-width: 1600px) and (min-width: 1201px), (max-width: 960px) { body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div { flex-direction: column; } } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div > div { flex: 1 1 300px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.feature > div img { width: 100%; height: auto; display: block; margin: 0.5em 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul { margin-top: 0; columns: 250px; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.mech ul li:first-child { margin-top: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li { flex: 1 1 40%; list-style: none; } body.rootpage-City_of_Beats_Wiki.action-view #bodyContent .box.gallery ul li img { width: 100%; height: auto; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 9751e66aca55b43b4a2d4ce9d1b192496a29600b File:Site-background.jpg 6 4 4 2022-12-20T03:21:17Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Site-logo.png 6 5 5 2022-12-20T03:23:42Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 7 5 2022-12-20T03:32:10Z Westgrass 40 Westgrass uploaded a new version of [[File:Site-logo.png]] wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 10 7 2022-12-20T03:44:27Z Westgrass 40 Westgrass uploaded a new version of [[File:Site-logo.png]] wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Site-favicon.ico 6 6 12 2022-12-20T04:14:00Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 MediaWiki:Pagetitle 8 7 35 2022-12-20T14:22:33Z Westgrass 40 Created page with "$1 - Official {{SITENAME}}" wikitext text/x-wiki $1 - Official {{SITENAME}} 57033220011e307a12da880f313762b28dee374e MediaWiki:Pagetitle-view-mainpage 8 8 37 2022-12-20T14:24:21Z Westgrass 40 Created page with "Official {{SITENAME}}" wikitext text/x-wiki Official {{SITENAME}} c2d59ee45ea02d10b205a5d70873df285c4a3f46 MediaWiki:Copyright 8 9 38 2022-12-20T14:24:47Z Westgrass 40 Created page with "<img src=https://commons.wiki.gg/images/f/ff/CC-BY-SA.svg /> Page content is under the <a href=https://creativecommons.org/licenses/by-sa/3.0>Creative Commons Attribution-ShareAlike 3.0 License</a> unless otherwise noted." wikitext text/x-wiki <img src=https://commons.wiki.gg/images/f/ff/CC-BY-SA.svg /> Page content is under the <a href=https://creativecommons.org/licenses/by-sa/3.0>Creative Commons Attribution-ShareAlike 3.0 License</a> unless otherwise noted. f9861918ad88d42707a471f2b0935f8c60676259 MediaWiki:Mainpage 8 10 42 2022-12-20T14:36:23Z Westgrass 40 Created page with "{{SITENAME}}" wikitext text/x-wiki {{SITENAME}} 3879910e8b355a24373fd09ccc909145b2639907 Main Page 0 11 44 2022-12-20T14:36:41Z Westgrass 40 Westgrass moved page [[Main Page]] to [[Tavernacle Wiki]] wikitext text/x-wiki #REDIRECT [[Tavernacle Wiki]] 54554fe0933e469c17afa710395a335c5a1bec93 Category:Tavernacle Wiki 14 12 46 2022-12-20T14:37:34Z Westgrass 40 Created page with "This is the root category for everything on The {{SITENAME}}." wikitext text/x-wiki This is the root category for everything on The {{SITENAME}}. eaccd6ba79f8609ec20cb92a31a9468a40c7bfae MediaWiki:Common.js 8 13 47 2022-12-20T14:39:34Z Westgrass 40 Created page with "/** * For language wikis, use * <code> mw.loader.load("https://tavernacle.wiki.gg/load.php?lang=en&modules=site&only=scripts&skin=vector"); </code> * as the content of common.js to import from this script. * */ /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /*! floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ !function(t,i){"object"==typeof exports&&"undefined"..." javascript text/javascript /** * For language wikis, use * <code> mw.loader.load("https://tavernacle.wiki.gg/load.php?lang=en&modules=site&only=scripts&skin=vector"); </code> * as the content of common.js to import from this script. * */ /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /*! floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ !function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],i):i((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";var i="horizontal",n="vertical",e={init:function(t,n){var e=this;e.orientationProps=function(t){var n=t===i;return{ORIENTATION:t,SIZE:n?"width":"height",X_SIZE:n?"height":"width",OFFSET_SIZE:n?"offsetWidth":"offsetHeight",OFFSET_X_SIZE:n?"offsetHeight":"offsetWidth",CLIENT_SIZE:n?"clientWidth":"clientHeight",CLIENT_X_SIZE:n?"clientHeight":"clientWidth",INNER_X_SIZE:n?"innerHeight":"innerWidth",SCROLL_SIZE:n?"scrollWidth":"scrollHeight",SCROLL_POS:n?"scrollLeft":"scrollTop",START:n?"left":"top",X_START:n?"top":"left",X_END:n?"bottom":"right"}}(n);var o=t.closest(".fl-scrolls-body");o.length&&(e.scrollBody=o),e.container=t[0],e.visible=!0,e.initWidget(),e.updateAPI(),e.addEventHandlers(),e.skipSyncContainer=e.skipSyncWidget=!1},initWidget:function(){var i=this,n=i.orientationProps,e=n.ORIENTATION,o=n.SIZE,r=n.SCROLL_SIZE,c=i.widget=t('<div class="fl-scrolls" data-orientation="'+e+'"></div>');t("<div></div>").appendTo(c)[o](i.container[r]),c.appendTo(i.container)},addEventHandlers:function(){var i=this;(i.eventHandlers=[{$el:t(window),handlers:{"destroyDetached.fscroll":function(t){"fscroll"===t.namespace&&i.destroyDetachedAPI()}}},{$el:i.scrollBody||t(window),handlers:{scroll:function(){i.updateAPI()},resize:function(){i.updateAPI()}}},{$el:i.widget,handlers:{scroll:function(){i.visible&&!i.skipSyncContainer&&i.syncContainer(),i.skipSyncContainer=!1}}},{$el:t(i.container),handlers:{scroll:function(){i.skipSyncWidget||i.syncWidget(),i.skipSyncWidget=!1},focusin:function(){setTimeout((function(){i.widget&&i.syncWidget()}),0)},"update.fscroll":function(t){"fscroll"===t.namespace&&i.updateAPI()},"destroy.fscroll":function(t){"fscroll"===t.namespace&&i.destroyAPI()}}}]).forEach((function(t){var i=t.$el,n=t.handlers;return i.bind(n)}))},checkVisibility:function(){var t=this,i=t.widget,n=t.container,e=t.scrollBody,o=t.orientationProps,r=o.SCROLL_SIZE,c=o.OFFSET_SIZE,l=o.X_START,s=o.X_END,d=o.INNER_X_SIZE,a=o.CLIENT_X_SIZE,f=i[0][r]<=i[0][c];if(!f){var h=n.getBoundingClientRect(),u=e?e[0].getBoundingClientRect()[s]:window[d]||document.documentElement[a];f=h[s]<=u||h[l]>u}t.visible===f&&(t.visible=!f,i.toggleClass("fl-scrolls-hidden"))},syncContainer:function(){var t=this,i=t.orientationProps.SCROLL_POS,n=t.widget[0][i];t.container[i]!==n&&(t.skipSyncWidget=!0,t.container[i]=n)},syncWidget:function(){var t=this,i=t.orientationProps.SCROLL_POS,n=t.container[i];t.widget[0][i]!==n&&(t.skipSyncContainer=!0,t.widget[0][i]=n)},updateAPI:function(){var i=this,n=i.orientationProps,e=n.SIZE,o=n.X_SIZE,r=n.OFFSET_X_SIZE,c=n.CLIENT_SIZE,l=n.CLIENT_X_SIZE,s=n.SCROLL_SIZE,d=n.START,a=i.widget,f=i.container,h=i.scrollBody,u=f[c],S=f[s];a[e](u),h||a.css(d,f.getBoundingClientRect()[d]+"px"),t("div",a)[e](S),S>u&&a[o](a[0][r]-a[0][l]+1),i.syncWidget(),i.checkVisibility()},destroyAPI:function(){var t=this;t.eventHandlers.forEach((function(t){var i=t.$el,n=t.handlers;return i.unbind(n)})),t.widget.remove(),t.eventHandlers=t.widget=t.container=t.scrollBody=null},destroyDetachedAPI:function(){t.contains(document.body,this.container)||this.destroyAPI()}};t.fn.floatingScroll=function(o,r){if(void 0===o&&(o="init"),void 0===r&&(r={}),"init"===o){var c=r.orientation,l=void 0===c?i:c;if(l!==i&&l!==n)throw new Error("Scrollbar orientation should be either “horizontal” or “vertical”");this.each((function(i,n){return Object.create(e).init(t(n),l)}))}else Object.prototype.hasOwnProperty.call(e,o+"API")&&this.trigger(o+".fscroll");return this},t((function(){t("body [data-fl-scrolls]").each((function(i,n){var e=t(n);e.floatingScroll("init",e.data("flScrolls")||{})}))}))})); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * common Utilities */ var util = (function(){ var exports = { /* common l10n factory */ l10nFactory: function($lang, $data) { return function ($key) { return $data[$key] && ($data[$key][$lang] || $data[$key]['en']) || ''; }; } }; function throttle(t, e, o, n) { var r, i = !1, u = 0; function c() { r && clearTimeout(r) } function a() { for (var a = arguments.length, d = new Array(a), l = 0; l < a; l++) d[l] = arguments[l]; var f = this, v = Date.now() - u; function p() { u = Date.now(), o.apply(f, d) } function h() { r = void 0 } i || (n && !r && p(), c(), void 0 === n && v > t ? p() : !0 !== e && (r = setTimeout(n ? h : p, void 0 === n ? t - v : t))) } return "boolean" != typeof e && (n = o, o = e, e = void 0), a.cancel = function() { c(), i = !0 }, a } function debounce(t, e, o) { return void 0 === o ? throttle(t, e, !1) : throttle(t, o, !1 !== e) } exports.debounce = debounce; exports.throttle = throttle; return exports; })(); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Handle wide tables * * Display a horizontal floating scroll bar when the table width exceeds the page width. */ $(function() { var TABLE_WIDE_CLASS = "table-wide"; var TABLE_WIDE_INNER_CLASS = "table-wide-inner"; var handleWideTables = function(tables) { var handler = util.debounce(100, (function() { if(!tables){ return; } tables.forEach(function(table) { var $table = $(table); if(!$table.data('container')){ $table.data('container', table.parentNode); } var container = $table.data('container'); if(!container){ return; } var $innerBox = $table.parent(); var $outerBox = $innerBox.parent(); var overwide = table.getBoundingClientRect().width > container.getBoundingClientRect().width; if($outerBox.hasClass(TABLE_WIDE_CLASS)){ if(overwide){ $innerBox.floatingScroll("update"); }else{ $outerBox.before($table).remove(); } }else{ if(overwide) { $('<div/>').addClass(TABLE_WIDE_INNER_CLASS).appendTo( $('<div/>').addClass(TABLE_WIDE_CLASS).insertBefore($table) ).append($table).floatingScroll("init").floatingScroll("update"); } } }); })); handler(); window.addEventListener("resize", handler); }; var isEditorActive = function() { var e = new URLSearchParams(window.location.search); return "edit" === e.get("action") || "submit" === e.get("action") || ("edit" === e.get("veaction") || "submit" === e.get("veaction") || "editsource" === e.get("veaction")); } mw.hook("wikipage.content").add(function() { if (!isEditorActive()) { var el = document.querySelector("#bodyContent"); if (el) { handleWideTables(el.querySelectorAll("table")); } } }); }); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Make sidebar sections collapsible */ $(function(){ $panel = $('#mw-panel'); $("#mw-panel .portal").each(function(index, el){ var $el = $(el); var $id = $el.attr("id"); if(!$id){ return; } // for < 1366px $el.removeClass('expanded'); // for >= 1366px if(localStorage.getItem('sidebar_c_'+$id) === "y"){ $el.addClass('collapsed').find('.body').slideUp(0); } }); $("#mw-panel .portal").on("click", "h3", function(event){ var $el = $(this).parent(); var $id = $el.attr("id"); if(!$id){ return; } event.stopPropagation(); if($panel.width() < 200){ $el.toggleClass('collapsed'); if($el.hasClass('collapsed')){ // more consistent between class and slide status. localStorage.setItem('sidebar_c_'+$id, "y"); $el.find('.body').slideUp('fast'); } else{ localStorage.setItem('sidebar_c_'+$id, "n"); $el.find('.body').slideDown('fast'); } } else{ $("#mw-panel .portal").not($el).removeClass('expanded'); $el.toggleClass('expanded'); } }); }); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * image size fix for <gallery> */ $(function(){ $(".mw-gallery-traditional .thumb").each(function(){ var $this = $(this); /* $this.css('display', 'flex'); // do this in common.css: .mw-gallery-traditional .thumb{ display: flex; } */ $this.css('height', $this.height()+'px').find('>div').css('margin', 'auto'); var $img = $this.find('img').first(); if(!$img.length){ return; } var $width = $img.attr('width') - 0; //cast to number. var $filewidth = $img.attr('data-file-width') - 0; if($filewidth < $width){ var $fileheight = $img.attr('data-file-height'); if( $filewidth * 2 > $width){ $img.attr({'width': $filewidth, 'height': $fileheight}); }else{ $img.attr({'width': $filewidth*2, 'height': $fileheight*2}); } } }); }); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * login status mark */ $(function(){ if(mw.config.get("wgUserName") !== null){ $('body').addClass('logged-in'); } }); /////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Content box customization */ $(function() { /* Disable triggering of new browser tab when clicking URL links that point to internal wiki addresses (purge, edit, etc) */ $('a[href^="//tavernacle.wiki.gg/"]').removeAttr('target'); /* Hyperlink required modules in Module namespace */ // Author: RheingoldRiver if (mw.config.get('wgCanonicalNamespace') === 'Module') { $('.s1, .s2').each(function () { var html = $(this).html(); // the module name is surrounded by quotes, so we have to remove them var quote = html[0]; var quoteRE = new RegExp('^' + quote + '|' + quote + '$', 'g'); var name = html.replace(quoteRE, ""); // remove quotes // link the module name if (name.startsWith("Module:")) { var target = encodeURIComponent(name); var url = mw.config.get('wgServer') + mw.config.get('wgScript') + '?title=' + target; $(this).html(quote + '<a href="' + url + '">' + name + '</a>' + quote); } }); } }); 4709c7cb30e92b49b2b2577d582d19b89a3538b9 MediaWiki:Sidebar 8 14 48 2022-12-20T14:42:22Z Westgrass 40 Created page with "* navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage * Portals ** https://www.damadamagames.com/ | Official Website ** https://twitter.com/DamaDamaGames | Tavernacle! on Twitter ** https://www.instagram.com/damadamagames/ | Tavernacle! on Instagram ** https://www.facebook.com/damadamagames/ | Tavernacle! on Facebook ** https://www.reddit.com/user/DamaDamaGames | Tavernacle! on Reddit ** https://discord.gg/BYfBexnZj..." wikitext text/x-wiki * navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage * Portals ** https://www.damadamagames.com/ | Official Website ** https://twitter.com/DamaDamaGames | Tavernacle! on Twitter ** https://www.instagram.com/damadamagames/ | Tavernacle! on Instagram ** https://www.facebook.com/damadamagames/ | Tavernacle! on Facebook ** https://www.reddit.com/user/DamaDamaGames | Tavernacle! on Reddit ** https://discord.gg/BYfBexnZjc | Tavernacle! on Discord ** https://store.steampowered.com/app/1937820/Tavernacle/ | Tavernacle! on Steam * TOOLBOX * LANGUAGES c2b125aaf02c7b27f6e8a8c2e123a48035f1a002 49 48 2022-12-20T14:46:11Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1687590/Mars_Base/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/HywrrEBzeN]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/KZGames8]]</li><!-- --><li>[[file:YouTube.svg|Tavernacle! on YouTube|32x32px|link=https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/kz_games8/ ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Welcome to [[Tavernacle!]], humanity's foothold on the Red Planet! Join the expedition as an interstellar botanist and make history: turn barren soil into fertile farmland, grow food for colonists’ tables, and unearth the secrets of Mars! Are you ready to science the “crop” out of everything? </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><div class="a"><!-- --><div><!-- --><p>Your assignment is at Tavernacle!, located in the scenic Erebus Montes region on the Amazonia Planitia. You will have access to all the necessary essentials upon landing. As the expedition's main botanist, you'll be responsible for turning a dead planet into a living one, a planter at a time.</p><!-- --><p>You can venture out beyond the safe perimeter of Tavernacle! to explore the Red Planet! You will gain access to valuable resources for crafting tools and supplies. Crafting is essential.</p><!-- --><p> During down time, you can [[cook]], race [[Mars rover]]s, or build [[rocket]]s to explore other celestial bodies beyond the red horizon.</p><!-- --></div><!-- --><div><!-- --><h3>Features</h3><!-- --><ul><!-- --><li>[[Building]]</li><!-- --><li>[[Farming]]</li><!-- --><li>[[Crafting]]</li><!-- --><li>[[Exploring]]</li><!-- --><li>[[Colonist]]s</li><!-- --></ul><!-- --></div><!-- --><div><!-- --><h3>Facilities</h3><!-- --><ul><!-- --><li>[[Crafting facilities]]</li><!-- --><li>[[Research lab]]s</li><!-- --><li>[[Solar power plant]]s</li><!-- --><li>[[Greenhouse]]s</li><!-- --></ul><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box trailer"><!-- --><h2>[[Trailers]]</h2><!-- --><div><!-- -->{{#ev:youtube|t48u7Nyd7Lg||center|Official Trailer}}<!-- -->{{#ev:youtube|8Ay1suKHebk||center|Customize your MARS ROVER}}<!-- -->{{#ev:youtube|MBwNoMnOiOc||center|Build your own ROCKET}}<!-- -->{{#ev:youtube|5XGqDzRpNgk||center|Run your own food shop}}<!-- --></div><!-- --><p>[https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ More trailers...]</p><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] 31044eedf705bb2e70e3c5098c58c21ccdf97ec6 50 49 2022-12-20T14:47:17Z Westgrass 40 Undo revision 49 by [[Special:Contributions/Westgrass|Westgrass]] ([[User talk:Westgrass|talk]]) wikitext text/x-wiki * navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage * Portals ** https://www.damadamagames.com/ | Official Website ** https://twitter.com/DamaDamaGames | Tavernacle! on Twitter ** https://www.instagram.com/damadamagames/ | Tavernacle! on Instagram ** https://www.facebook.com/damadamagames/ | Tavernacle! on Facebook ** https://www.reddit.com/user/DamaDamaGames | Tavernacle! on Reddit ** https://discord.gg/BYfBexnZjc | Tavernacle! on Discord ** https://store.steampowered.com/app/1937820/Tavernacle/ | Tavernacle! on Steam * TOOLBOX * LANGUAGES c2b125aaf02c7b27f6e8a8c2e123a48035f1a002 Tavernacle Wiki 0 1 51 45 2022-12-20T14:47:29Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1687590/Mars_Base/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/HywrrEBzeN]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/KZGames8]]</li><!-- --><li>[[file:YouTube.svg|Tavernacle! on YouTube|32x32px|link=https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/kz_games8/ ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Welcome to [[Tavernacle!]], humanity's foothold on the Red Planet! Join the expedition as an interstellar botanist and make history: turn barren soil into fertile farmland, grow food for colonists’ tables, and unearth the secrets of Mars! Are you ready to science the “crop” out of everything? </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><div class="a"><!-- --><div><!-- --><p>Your assignment is at Tavernacle!, located in the scenic Erebus Montes region on the Amazonia Planitia. You will have access to all the necessary essentials upon landing. As the expedition's main botanist, you'll be responsible for turning a dead planet into a living one, a planter at a time.</p><!-- --><p>You can venture out beyond the safe perimeter of Tavernacle! to explore the Red Planet! You will gain access to valuable resources for crafting tools and supplies. Crafting is essential.</p><!-- --><p> During down time, you can [[cook]], race [[Mars rover]]s, or build [[rocket]]s to explore other celestial bodies beyond the red horizon.</p><!-- --></div><!-- --><div><!-- --><h3>Features</h3><!-- --><ul><!-- --><li>[[Building]]</li><!-- --><li>[[Farming]]</li><!-- --><li>[[Crafting]]</li><!-- --><li>[[Exploring]]</li><!-- --><li>[[Colonist]]s</li><!-- --></ul><!-- --></div><!-- --><div><!-- --><h3>Facilities</h3><!-- --><ul><!-- --><li>[[Crafting facilities]]</li><!-- --><li>[[Research lab]]s</li><!-- --><li>[[Solar power plant]]s</li><!-- --><li>[[Greenhouse]]s</li><!-- --></ul><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box trailer"><!-- --><h2>[[Trailers]]</h2><!-- --><div><!-- -->{{#ev:youtube|t48u7Nyd7Lg||center|Official Trailer}}<!-- -->{{#ev:youtube|8Ay1suKHebk||center|Customize your MARS ROVER}}<!-- -->{{#ev:youtube|MBwNoMnOiOc||center|Build your own ROCKET}}<!-- -->{{#ev:youtube|5XGqDzRpNgk||center|Run your own food shop}}<!-- --></div><!-- --><p>[https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ More trailers...]</p><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] 31044eedf705bb2e70e3c5098c58c21ccdf97ec6 55 51 2022-12-20T14:52:38Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Welcome to [[Tavernacle!]], humanity's foothold on the Red Planet! Join the expedition as an interstellar botanist and make history: turn barren soil into fertile farmland, grow food for colonists’ tables, and unearth the secrets of Mars! Are you ready to science the “crop” out of everything? </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><div class="a"><!-- --><div><!-- --><p>Your assignment is at Tavernacle!, located in the scenic Erebus Montes region on the Amazonia Planitia. You will have access to all the necessary essentials upon landing. As the expedition's main botanist, you'll be responsible for turning a dead planet into a living one, a planter at a time.</p><!-- --><p>You can venture out beyond the safe perimeter of Tavernacle! to explore the Red Planet! You will gain access to valuable resources for crafting tools and supplies. Crafting is essential.</p><!-- --><p> During down time, you can [[cook]], race [[Mars rover]]s, or build [[rocket]]s to explore other celestial bodies beyond the red horizon.</p><!-- --></div><!-- --><div><!-- --><h3>Features</h3><!-- --><ul><!-- --><li>[[Building]]</li><!-- --><li>[[Farming]]</li><!-- --><li>[[Crafting]]</li><!-- --><li>[[Exploring]]</li><!-- --><li>[[Colonist]]s</li><!-- --></ul><!-- --></div><!-- --><div><!-- --><h3>Facilities</h3><!-- --><ul><!-- --><li>[[Crafting facilities]]</li><!-- --><li>[[Research lab]]s</li><!-- --><li>[[Solar power plant]]s</li><!-- --><li>[[Greenhouse]]s</li><!-- --></ul><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box trailer"><!-- --><h2>[[Trailers]]</h2><!-- --><div><!-- -->{{#ev:youtube|t48u7Nyd7Lg||center|Official Trailer}}<!-- -->{{#ev:youtube|8Ay1suKHebk||center|Customize your MARS ROVER}}<!-- -->{{#ev:youtube|MBwNoMnOiOc||center|Build your own ROCKET}}<!-- -->{{#ev:youtube|5XGqDzRpNgk||center|Run your own food shop}}<!-- --></div><!-- --><p>[https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ More trailers...]</p><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] 65b58200d65c378e81083183fdabbc82438066cc 58 55 2022-12-20T14:56:57Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Tavernacle! is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. Your favorite brewery is under attack, so go grab your hammer, and start crafting traps, building towers and other defenses to protect the tavern. </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Gameplay</h2><!-- --><div class="a"><!-- --><div><!-- --><p>Your assignment is at Tavernacle!, located in the scenic Erebus Montes region on the Amazonia Planitia. You will have access to all the necessary essentials upon landing. As the expedition's main botanist, you'll be responsible for turning a dead planet into a living one, a planter at a time.</p><!-- --><p>You can venture out beyond the safe perimeter of Tavernacle! to explore the Red Planet! You will gain access to valuable resources for crafting tools and supplies. Crafting is essential.</p><!-- --><p> During down time, you can [[cook]], race [[Mars rover]]s, or build [[rocket]]s to explore other celestial bodies beyond the red horizon.</p><!-- --></div><!-- --><div><!-- --><h3>Features</h3><!-- --><ul><!-- --><li>[[Building]]</li><!-- --><li>[[Farming]]</li><!-- --><li>[[Crafting]]</li><!-- --><li>[[Exploring]]</li><!-- --><li>[[Colonist]]s</li><!-- --></ul><!-- --></div><!-- --><div><!-- --><h3>Facilities</h3><!-- --><ul><!-- --><li>[[Crafting facilities]]</li><!-- --><li>[[Research lab]]s</li><!-- --><li>[[Solar power plant]]s</li><!-- --><li>[[Greenhouse]]s</li><!-- --></ul><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box trailer"><!-- --><h2>[[Trailers]]</h2><!-- --><div><!-- -->{{#ev:youtube|t48u7Nyd7Lg||center|Official Trailer}}<!-- -->{{#ev:youtube|8Ay1suKHebk||center|Customize your MARS ROVER}}<!-- -->{{#ev:youtube|MBwNoMnOiOc||center|Build your own ROCKET}}<!-- -->{{#ev:youtube|5XGqDzRpNgk||center|Run your own food shop}}<!-- --></div><!-- --><p>[https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ More trailers...]</p><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] 84457975b4c1dfd31bc732ec615cce1bd6dfc8d2 59 58 2022-12-20T14:59:29Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Tavernacle! is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. Your favorite brewery is under attack, so go grab your hammer, and start crafting traps, building towers and other defenses to protect the tavern. </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Features</h2><!-- --><div class="a"><!-- --><div><!-- --><h3>Be on the ground</h3><!-- --><p>Tavernacle! is a Tower Defense like no other. You must collect resources and bring them to your construction site, while dodging enemy attacks. Throw them if you can aim, and try to steer away from the many dangers of each level.</p><!-- --></div><!-- --><div><!-- --><h3>Dwarves working together</h3><!-- --><p>Tavernacle! is a chaotic co-op Tower Defense that can be played solo, in local split-screen or online. Dwarves have a reputation of being moody, but you must communicate and cooperate if you are to save your beloved brewery from the monsters that are attacking. So grab your tools, and get to work: there is stone to mine, trees to cut down, iron to smelt and much more...</p><!-- --></div><!-- --><div><!-- --><h3>A wide range of challenges</h3><!-- --><p>Use a varied set of towers, traps and explosives to stop the waves of creatures that are approaching. Consider every option, to assess what type of weapon is best suited for each kind of enemy, and manage your supplies to stay on top when more monsters are approaching. Discover all the regions of the Upper-Left Earth, with their unique looks, dangers and inhabitants. </p><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box trailer"><!-- --><h2>[[Trailers]]</h2><!-- --><div><!-- -->{{#ev:youtube|t48u7Nyd7Lg||center|Official Trailer}}<!-- -->{{#ev:youtube|8Ay1suKHebk||center|Customize your MARS ROVER}}<!-- -->{{#ev:youtube|MBwNoMnOiOc||center|Build your own ROCKET}}<!-- -->{{#ev:youtube|5XGqDzRpNgk||center|Run your own food shop}}<!-- --></div><!-- --><p>[https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ More trailers...]</p><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] 816939a83e53018cdc9a1549a9dd9aecddcfbc69 61 59 2022-12-20T15:07:07Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Tavernacle! is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. Your favorite brewery is under attack, so go grab your hammer, and start crafting traps, building towers and other defenses to protect the tavern. </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Features</h2><!-- --><div class="a"><!-- --><div><!-- --><h3>Be on the ground</h3><!-- --><p>You must collect resources and bring them to your construction site, while dodging enemy attacks. Throw them if you can aim, and try to steer away from the many dangers of each level.</p><!-- --></div><!-- --><div><!-- --><h3>chaotic co-op Tower Defense</h3><!-- --><p>Dwarves have a reputation of being moody, but you must communicate and cooperate if you are to save your beloved brewery from the monsters that are attacking.</p><!-- --></div><!-- --><div><!-- --><h3>A wide range of challenges</h3><!-- --><p>Use a varied set of towers, traps and explosives to stop the waves of creatures that are approaching. Discover all the regions of the Upper-Left Earth, with their unique looks, dangers and inhabitants. </p><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box trailer"><!-- --><h2>[[Trailers]]</h2><!-- --><div><!-- -->{{#ev:youtube|t48u7Nyd7Lg||center|Official Trailer}}<!-- -->{{#ev:youtube|8Ay1suKHebk||center|Customize your MARS ROVER}}<!-- -->{{#ev:youtube|MBwNoMnOiOc||center|Build your own ROCKET}}<!-- -->{{#ev:youtube|5XGqDzRpNgk||center|Run your own food shop}}<!-- --></div><!-- --><p>[https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ More trailers...]</p><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] 4d3eb2ab2c1f3bf7b67fbbe4bba7092f0a4a088a 62 61 2022-12-20T15:20:44Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Tavernacle! is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. Your favorite brewery is under attack, so go grab your hammer, and start crafting traps, building towers and other defenses to protect the tavern. </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Features</h2><!-- --><div class="a"><!-- --><div><!-- --><h3>Be on the ground</h3><!-- --><p>You must collect resources and bring them to your construction site, while dodging enemy attacks. Throw them if you can aim, and try to steer away from the many dangers of each level.</p><!-- -->[[File:feature1.jpg|link=]]</div><!-- --><div><!-- --><h3>chaotic co-op Tower Defense</h3><!-- --><p>Dwarves have a reputation of being moody, but you must communicate and cooperate if you are to save your beloved brewery from the monsters that are attacking.</p><!-- -->[[File:feature2.jpg|link=]]</div><!-- --><div><!-- --><h3>A wide range of challenges</h3><!-- --><p>Use a varied set of towers, traps and explosives to stop the waves of creatures that are approaching. Discover all the regions of the Upper-Left Earth, with their unique looks, dangers and inhabitants. </p><!-- -->[[File:feature3.jpg|link=]]</div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box trailer"><!-- --><h2>[[Trailers]]</h2><!-- --><div><!-- -->{{#ev:youtube|t48u7Nyd7Lg||center|Official Trailer}}<!-- -->{{#ev:youtube|8Ay1suKHebk||center|Customize your MARS ROVER}}<!-- -->{{#ev:youtube|MBwNoMnOiOc||center|Build your own ROCKET}}<!-- -->{{#ev:youtube|5XGqDzRpNgk||center|Run your own food shop}}<!-- --></div><!-- --><p>[https://www.youtube.com/channel/UCgQkmzNhecnoHiFrrVUCTaQ More trailers...]</p><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] f2c2bc67a23c170ab92c6b812328bd3ec3de4177 68 62 2022-12-20T15:24:51Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Tavernacle! is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. Your favorite brewery is under attack, so go grab your hammer, and start crafting traps, building towers and other defenses to protect the tavern. </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Features</h2><!-- --><div class="a"><!-- --><div><!-- --><h3>Be on the ground</h3><!-- --><p>You must collect resources and bring them to your construction site, while dodging enemy attacks. Throw them if you can aim, and try to steer away from the many dangers of each level.</p><!-- -->[[File:feature1.jpg|link=]]</div><!-- --><div><!-- --><h3>chaotic co-op Tower Defense</h3><!-- --><p>Dwarves have a reputation of being moody, but you must communicate and cooperate if you are to save your beloved brewery from the monsters that are attacking.</p><!-- -->[[File:feature2.jpg|link=]]</div><!-- --><div><!-- --><h3>A wide range of challenges</h3><!-- --><p>Use a varied set of towers, traps and explosives to stop the waves of creatures that are approaching. Discover all the regions of the Upper-Left Earth, with their unique looks, dangers and inhabitants. </p><!-- -->[[File:feature3.jpg|link=]]</div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box screenshot"><!-- --><h2>Screenshots</h2><!-- --><div><!-- -->[[File:screenshot1.jpg|500px]]<!-- -->[[File:screenshot2.jpg|500px]]<!-- -->[[File:screenshot3.jpg|500px]]<!-- -->[[File:screenshot4.jpg|500px]]<!-- -->[[File:screenshot5.jpg|500px]]<!-- -->[[File:screenshot6.jpg|500px]]<!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] f8c312326c95ee45605981179c3efe44027a20de 78 68 2022-12-20T15:32:01Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>Tavernacle! is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. Your favorite brewery is under attack, so go grab your hammer, and start crafting traps, building towers and other defenses to protect the tavern. </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Features</h2><!-- --><div class="a"><!-- --><div><!-- --><h3>Be on the ground</h3><!-- -->[[File:feature1.jpg|link=]]<p>You must collect resources and bring them to your construction site, while dodging enemy attacks. Throw them if you can aim, and try to steer away from the many dangers of each level.</p><!-- --></div><!-- --><div><!-- --><h3>chaotic co-op Tower Defense</h3><!-- -->[[File:feature2.jpg|link=]]<p>Dwarves have a reputation of being moody, but you must communicate and cooperate if you are to save your beloved brewery from the monsters that are attacking.</p><!-- --></div><!-- --><div><!-- --><h3>A wide range of challenges</h3><!-- -->[[File:feature3.jpg|link=]]<p>Use a varied set of towers, traps and explosives to stop the waves of creatures that are approaching. Discover all the regions of the Upper-Left Earth, with their unique looks, dangers and inhabitants. </p><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box screenshot"><!-- --><h2>Screenshots</h2><!-- --><div><!-- -->[[File:screenshot1.jpg|500px]]<!-- -->[[File:screenshot2.jpg|500px]]<!-- -->[[File:screenshot3.jpg|500px]]<!-- -->[[File:screenshot4.jpg|500px]]<!-- -->[[File:screenshot5.jpg|500px]]<!-- -->[[File:screenshot6.jpg|500px]]<!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] fb8e49a65422dbb5e89fea5914a6c9ff8ba17cb3 86 78 2022-12-20T15:49:04Z Westgrass 40 wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>[[Tavernacle!]] is a chaotic [[co-op]] Tower Defense game in which you and your friends play as a group of [[Dwarves]] in a fantasy world. Your favorite brewery is under attack, so go grab your [[hammer]], and start [[craft]]ing [[traps]], building [[towers]] and other defenses to protect the tavern. </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Features</h2><!-- --><div class="a"><!-- --><div><!-- --><h3>Be on the ground</h3><!-- -->[[File:feature1.jpg|link=]]<p>You must collect [[resources]] and bring them to your construction site, while dodging enemy attacks. [[Throw]] them if you can aim, and try to steer away from the many dangers of each level.</p><!-- --></div><!-- --><div><!-- --><h3>chaotic co-op Tower Defense</h3><!-- -->[[File:feature2.jpg|link=]]<p>Dwarves have a reputation of being moody, but you must communicate and cooperate if you are to save your beloved [[brewery]] from the monsters that are attacking.</p><!-- --></div><!-- --><div><!-- --><h3>A wide range of challenges</h3><!-- -->[[File:feature3.jpg|link=]]<p>Use a varied set of towers, traps and [[explosives]] to stop the [[waves]] of creatures that are approaching. Discover all the regions of the Upper-Left Earth, with their unique looks, dangers and inhabitants. </p><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box screenshot"><!-- --><h2>Screenshots</h2><!-- --><div><!-- -->[[File:screenshot1.jpg|500px]]<!-- -->[[File:screenshot2.jpg|500px]]<!-- -->[[File:screenshot3.jpg|500px]]<!-- -->[[File:screenshot4.jpg|500px]]<!-- -->[[File:screenshot5.jpg|500px]]<!-- -->[[File:screenshot6.jpg|500px]]<!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] 81c19ff3efb4bd66462c729259be41a8fb2b65d7 MediaWiki:Common.css 8 3 52 41 2022-12-20T14:47:53Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 1px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1.5em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 2 2 500px; background: #f2f2f2; padding: 1em; border-radius: 5px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 1 1 100%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { display: flex; gap: 1em; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { width: auto !important; flex: 1 1 20%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb div, body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb iframe { width: 100% !important; height: auto !important; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > p { text-align: right; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 9fdd6b58905c62ed35400bb0646d16f4a0526f47 53 52 2022-12-20T14:49:35Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1.5em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 2 2 500px; background: #f2f2f2; padding: 1em; border-radius: 5px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 1 1 100%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { display: flex; gap: 1em; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { width: auto !important; flex: 1 1 20%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb div, body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb iframe { width: 100% !important; height: auto !important; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > p { text-align: right; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 8307b5f976da4bbb8bba31ea6bca687091001346 54 53 2022-12-20T14:50:31Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 160px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1.5em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 2 2 500px; background: #f2f2f2; padding: 1em; border-radius: 5px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 1 1 100%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { display: flex; gap: 1em; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { width: auto !important; flex: 1 1 20%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb div, body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb iframe { width: 100% !important; height: auto !important; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > p { text-align: right; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } c350fe2cf4c8340d0a91eb53abda2f6b5ed18b33 56 54 2022-12-20T14:53:36Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1.5em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 2 2 500px; background: #f2f2f2; padding: 1em; border-radius: 5px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 1 1 100%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { display: flex; gap: 1em; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { width: auto !important; flex: 1 1 20%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb div, body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb iframe { width: 100% !important; height: auto !important; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > p { text-align: right; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 7eba82d4c7cf7f3568eb0ab4f31d751d9a4c8dec 57 56 2022-12-20T14:54:16Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1.5em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 2 2 500px; background: #f2f2f2; padding: 1em; border-radius: 5px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div:first-child { flex: 1 1 100%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { display: flex; gap: 1em; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { width: auto !important; flex: 1 1 20%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb div, body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb iframe { width: 100% !important; height: auto !important; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > p { text-align: right; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 10c862480fe29260b66ee27c03c3391e6dec9f83 60 57 2022-12-20T15:01:24Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { display: flex; gap: 1em; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { width: auto !important; flex: 1 1 20%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb div, body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb iframe { width: 100% !important; height: auto !important; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > p { text-align: right; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } d6c210114016aea66448320c8609a1821093a961 66 60 2022-12-20T15:22:22Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { display: flex; gap: 1em; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { width: auto !important; flex: 1 1 20%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb div, body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb iframe { width: 100% !important; height: auto !important; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > p { text-align: right; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } aa8ee2b62243e19ccb4be447d26d69e6fa23f523 67 66 2022-12-20T15:23:01Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { display: flex; gap: 1em; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { width: auto !important; flex: 1 1 20%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb div, body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > div > .thumb iframe { width: 100% !important; height: auto !important; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .trailer > p { text-align: right; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 82165ab156d61929bd5174f2d95a051e15297a32 75 67 2022-12-20T15:29:00Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div img { flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div img { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div img { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 930eaaa7007d3caf9c6210915bf6b02f98e025fc 76 75 2022-12-20T15:29:52Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 89e7796c666c497199aeb982c506254862ef24aa 77 76 2022-12-20T15:30:38Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; margin-bottom: 0; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 1365px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 414ca490ea224f8d82c0d0407fe989c7bdd17bfa 79 77 2022-12-20T15:33:30Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 500px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1000px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-bottom: 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } e1747380560b5bb290568b8c3a03f219be277d2b 80 79 2022-12-20T15:34:56Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 400px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1100px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-bottom: 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } ba27c04f25eda36a5f8162f51a724d7dc5cf7510 81 80 2022-12-20T15:37:17Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; align-items: normal; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 400px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1100px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-bottom: 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 85797a05adbe25f402081828babbdc1f73d9381a 82 81 2022-12-20T15:37:48Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { flex-direction: column; align-items: normal; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 400px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1100px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-bottom: 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 2edc43af995fc5ea25409df7e6b740762bc73b1f 83 82 2022-12-20T15:39:43Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 400px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1100px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-bottom: 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } afabc50ff1ad78e1badd092fb3f50a9bb2c2a5b2 84 83 2022-12-20T15:42:06Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* cover border bottom */ .vectorTabs li.selected::after { content: ""; display: block; width: 100%; height: 1px; background: var(--theme-navbar-tab-selected-background); border-width: 0 1px; border-style: solid; border-color: var(--theme-navbar-tab-selected-border-bottom-corner-color); position: absolute; bottom: -1px; left: -1px; z-index: 3; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 400px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1100px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-bottom: 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } a26b716c5387d3afe21bdc063ed006f905f60e88 85 84 2022-12-20T15:45:39Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 400px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1100px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-bottom: 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 37dfa9371189fe1cd6567c259af35220860265ba 91 85 2022-12-20T15:57:00Z Westgrass 40 css text/css /*********************************************************************************************************** * css reset for browser default rules and MediaWiki internal rules ***********************************************************************************************************/ * { outline: 0; } table { white-space: unset; /* set to `no-wrap` in MW internal css */ } html { font-size: 16px; /* reset rem */ } pre { margin: 0; } h1, h2, h3, h4, h5, h6 { padding: 0; border: 0 solid transparent; } table { display: table; white-space: unset; } body { background: none; } /*********************************************************************************************************** * css for wiki.gg top bar and footer bar ***********************************************************************************************************/ /*** Wiki.gg site bars tweak ***/ div#p-personal ul { white-space: nowrap; /* for "log out" */ } #p-personal .vector-menu-content #pt-anonuserpage, #p-personal .vector-menu-content #pt-userpage a { padding-top: 0; background-position: left center; } /*** responsive ***/ @media screen and (max-width: 720px) { footer#wikigg-footer .footer-right { margin-left: 0; } footer#wikigg-footer .footer-left { margin-right: 0; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { footer#wikigg-footer { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; padding: 3px 0 3px 10px; } footer#wikigg-footer .footer-middle { grid-column: 1/2; grid-row: 1/3; } footer#wikigg-footer .footer-right { grid-column: 2/3; grid-row: 1/2; margin: 0; } footer#wikigg-footer .footer-left { grid-column: 2/3; grid-row: 2/3; margin: 0; } } /* screen and (max-width:600px) */ /*** vars, for theming ***/ :root { --pi-background: rgba(255,255,255, 0.1); --theme-hover-color: #b8f1ff; --theme-text-color-placeholder: rgba(234,227,209,0.4); --theme-control-text-color: #000; --theme-control-text-color-hover: #fff; /* for wide table */ --theme-wide-table-shadow-color: #999; /*** text color ***/ --theme-text-color: #fff; --theme-text-color-note: rgb(196, 196, 196); --theme-text-color-em: #88e0ea; --theme-heading-color: #ecb163; /*** link text color ***/ --theme-link-color: #91e4ff; --theme-link-color-hover: #b0f0f1; --theme-link-color-visited: #75e7f1; --theme-link-color-redlink: #fc495d; /*** body background ***/ --theme-site-background: #b9efff url(/images/8/80/Site-background.jpg) left bottom / cover no-repeat fixed; /*** top site logo ***/ --theme-site-logo-image: url(/images/e/e6/Site-logo.png); --theme-site-logo-width: calc(938px / 2); --theme-site-logo-height: calc(408px / 2); /* sidebar/content common */ --theme-box-shadow: 0 0 5px 1px rgba(233, 172, 100, 0.1); --theme-box-base-background: rgba(46, 35, 64, 0.5); --theme-box-background: rgba(46, 35, 64, 0.94); --theme-box-background-color: rgba(46, 35, 64, 0.94); --theme-box-background-color-rgb: 46, 35, 64; --theme-box-border-color: rgba(233, 172, 100, 0.25); --theme-box-border-width: 0px; --theme-box-border-style: solid; /* common */ --theme-border-color:rgba(233, 172, 100, 0.2); --theme-highlight-background: rgba(233, 172, 100, 0.3); --theme-button-background: #edb262; --theme-button-border-color: #edb262; --theme-button-background-active: #efc182; --theme-button-border-color-active: #efc182; /*** sidebar ***/ --theme-sidebar-box-background: var(--theme-box-base-background); --theme-sidebar-box-border-style: var(--theme-box-border-style); --theme-sidebar-box-border-width: var(--theme-box-border-width); --theme-sidebar-box-border-color: var(--theme-box-border-color); --theme-sidebar-box-shadow: var(--theme-box-shadow); --theme-sidebar-heading-text-color: var(--theme-heading-color); --theme-sidebar-heading-arrow-color: var(--theme-text-color); --theme-sidebar-heading-arrow-color-hover: var(--theme-hover-color); --theme-sidebar-heading-background: var(--theme-box-background); --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* following 3 values will affect the space between the heading and the list */ --theme-sidebar-heading-border-bottom: 0px; --theme-sidebar-list-border-top: 1px solid var(--theme-border-color); /* will be hidden when collapsed */ --theme-sidebar-list-padding-top: 4px; --theme-sidebar-list-background: var(--theme-box-background); --theme-sidebar-list-item-background: none; --theme-sidebar-list-item-hover-mask: var(--theme-highlight-background); --theme-sidebar-list-item-text-color: var(--theme-text-color); --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); /* responsive */ --theme-sidebar-box-background-2: var(--theme-box-background); --theme-sidebar-box-border-width-2: var(--theme-box-border-width); --theme-sidebar-box-border-style-2: var(--theme-box-border-style); --theme-sidebar-box-border-color-2: var(--theme-box-border-color); --theme-sidebar-dropdown-background: var(--theme-box-background); /*** navbar ***/ --theme-navbar-inner-shadow: linear-gradient(to top, rgba(0,0,0, 0.1), transparent 5px); --theme-navbar-background: var(--theme-navbar-inner-shadow); --theme-navbar-border-width: var(--theme-box-border-width) var(--theme-box-border-width) 0px; --theme-navbar-border-style: var(--theme-box-border-style); --theme-navbar-border-color: var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-border-color); --theme-navbar-tab-background: var(--theme-navbar-inner-shadow), rgba(var(--theme-box-background-color-rgb), 0.6); --theme-navbar-tab-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-tab-text-color: var(--theme-text-color); --theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color); --theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color); --theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color); --theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink); --theme-navbar-tab-border-color: var(--theme-border-color); --theme-navbar-tab-background-hover: var(--theme-box-background); --theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-background: var(--theme-box-background); --theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color); --theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color); --theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-hover-color); --theme-navbar-tab-dropdown-background: var(--theme-box-background); --theme-navbar-tab-dropdown-border-color: var(--theme-border-color); --theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); --theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background); --theme-navbar-search-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15); --theme-navbar-search-input-background: rgba(0,0,0,0.6); --theme-navbar-search-input-border-color: var(--theme-border-color); --theme-navbar-search-input-text-color: #fff; --theme-navbar-search-button-background: var(--theme-button-background); --theme-navbar-search-botton-border-color: var(--theme-border-color); --theme-navbar-search-botton-text-color: var(--theme-text-color); --theme-navbar-search-button-background-active: var(--theme-button-background-active); --theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color); --theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color); --theme-navbar-search-suggestions-background: var(--theme-box-background); --theme-navbar-search-suggestions-border-color: var(--theme-border-color); --theme-navbar-search-suggestions-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em); --theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background); --theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */ --theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color); --theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color); --theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color); /* responsive */ --theme-navbar-search-background: var(--theme-box-background); /*** content box ***/ --theme-content-background: var(--theme-box-background); --theme-content-border-width: 0px var(--theme-box-border-width); --theme-content-border-style: var(--theme-box-border-style); --theme-content-border-color: var(--theme-box-border-color); --theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */ --theme-content-heading-rule-border-top: 0px solid var(--theme-border-color); /* border */ --theme-content-heading-rule-border-bottom: 0; /** category: box **/ --theme-content-category-background: none; --theme-content-category-border-style: solid; --theme-content-category-border-width: 2px; --theme-content-category-border-radius: 0; --theme-content-category-border-color: var(--theme-border-color); /*** #footer ***/ --theme-footer-text-color: var(--theme-text-color); --theme-footer-background: rgba(var(--theme-box-background-color-rgb), 0.4); --theme-footer-border-style: var(--theme-box-border-style); --theme-footer-border-width: 0px var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width); --theme-footer-border-color: var(--theme-border-color) var(--theme-box-border-color) var(--theme-box-border-color) var(--theme-box-border-color); --theme-footer-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1); /** notification **/ --theme-notice-red-text-color: #bf0017; --theme-notice-orange-text-color: #cf721c; /******* "real" wiki content ********/ --theme-widget-toc-arrow-color: var(--theme-text-color); --theme-widget-toc-arrow-color-hover: var(--theme-hover-color); --theme-widget-toc-item-hover-background: var(--theme-highlight-background); --theme-collapsible-toggle-icon-color: var(--theme-text-color); --theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color); } /*********************************************************************************************************** * base css styles for both interface and content box: font, color, etc. ***********************************************************************************************************/ /**** base styles START ***********************************************************/ /* always show scroll bar for short page. * By doing this page background size won't change when expand/collapse sidebar sections. */ html { overflow-y: scroll; } /** Font **/ html, body { font-family: Helvetica, Arial, sans-serif; color: var(--theme-text-color); } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: Helvetica, Arial, sans-serif; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; } body { font-size: 14px; } .vector-body { font-size: unset; } /** link color **/ /* Self-links aren't real links, they're not clickable. * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive. * We should not use :not(.selflink) since it increases the priority and make it is difficult to override * link styles for certain elements (e.g. in wiki.gg header). */ a, a.selflink:hover, a.selflink:active { text-decoration: none; color: var(--theme-link-color); } a:visited { color: var(--theme-link-color-visited); } a:hover, a:active { text-decoration: underline; color: var(--theme-link-color-hover); } /** red link **/ /* we don't really need to mark you have "visited" an inexistent page */ a.new, a.new:visited { color: var(--theme-link-color-redlink); } /* -------------------------------------------------------- */ /* Tables */ /* -------------------------------------------------------- */ table { /* fix 100% width table with border */ box-sizing: border-box; } table.lined, table.bordered, table.cellborder { border-collapse: collapse; border-style: solid; border-color: var(--theme-border-color); } table.lined th, table.lined td { border-width: 0 0 1px 0; } /*** "terraria"-classed tables ***/ table.olo { border: 2px solid transparent; margin: calc(0.5em + 5px) 5px; box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color); border-radius: 3px; /* (border radius of .olo box) - 3px */ } table.olo.noborder { padding: 0; border: 0; } table.olo th, table.olo td { padding: 3px 6px; border-color: var(--theme-border-color); border-style: solid; border-width: 0; } table.olo th { background: var(--theme-highlight-background); border-color: var(--theme-border-color); text-align: center; } table.olo caption { font-weight: bold; background: var(--theme-highlight-background); padding: 5px; margin: auto 2px; } table.olo > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border-bottom-width: 1px; box-shadow: 0 0 0 1px var(--theme-highlight-background); position: relative; } table.olo > caption:after { box-sizing: content-box; content: ""; display: block; width: 100%; height: 1px; background: var(--theme-highlight-background); position: absolute; left: -4px; bottom: -2px; border-left: 4px solid var(--theme-box-background-color); border-right: 4px solid var(--theme-box-background-color); } table.olo > caption.plaincaption { background: transparent; border: 0; box-shadow: 0 0 0 0; margin-bottom: 4px; } table.olo > caption.plaincaption:after { background: transparent; border: 0; } table tfoot:empty, table thead:empty { display: none; } /* Auto line separators for tables */ table.olo.lined { padding-bottom: 0; /*display: inline-table;*/ } table.olo.lined td { border-width: 0; border-bottom-width: 1px; } table.olo.lined::after { content: ""; display: block; height: 3px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 3px; background-color: var(--theme-box-background-color); } table.lined td.noline, table.lined tr.noline td { border-bottom-width: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline, table.lined tr.noline td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.olo.cellborder, table.olo.border { border-spacing: 0; padding: 4px 4px 4px 3px; position: relative; } table.olo.cellborder::before, table.olo.border::before { content: ""; display: block; width: 1px; height: calc(100% - 6px); background-color: var(--theme-box-background-color); position: absolute; left: 4px; top: 3px; } table.olo.cellborder td, table.olo.border td { border-left-width: 1px; border-bottom-width: 1px; } table.olo.cellborder th, table.olo.border th { border-left-width: 2px; border-top-width: 2px; } table.olo.cellborder tr:first-of-type th, table.olo.border tr:first-of-type th { border-top: 0; } table.olo.cellborder::after, table.olo.border::after { content: ""; display: block; height: 1px; width: calc(100% - 6px); position: absolute; left: 3px; bottom: 5px; background-color: var(--theme-box-background-color); } /* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid var(--theme-box-background-color); } /* Fix for siderail overlapping some wide tables such as on Armor, Accessories, or NPCs */ @media screen and (max-width: 1520px) and (min-width: 1350px) { .with-siderail table.olo .i { white-space: normal; } .with-siderail table.olo th { font-size: 90%; } .with-siderail table.olo td:not(.il1c) img { max-width: 100%; height: auto; } } .olo th { border-bottom: 1px solid; } .wikitable, .wikitable > tr > th, .wikitable > * > tr > th { color: inherit; background: none; } /* .jquery-tablesorter th.headerSort{ border: 1px solid var(--theme-border-color); } */ table.cargoTable.noMerge tr:nth-child(2n) { background: rgba(0, 0, 0, 0.25); } table.cargoTable.noMerge tr:nth-child(2n+1) { background: none; } table.olo caption { border-width: 1px; border-style: solid; border-top-color: rgb(255, 255, 255, 0.1); border-right-color: rgb(13, 4, 2, 0.5); border-bottom-color: rgb(13, 4, 2, 0.5); border-left-color: rgb(255, 255, 255, 0.1); border-radius: 8px; } table.olo { /*display: inherit;*/ width: auto; } .olo.sortable.lined.align-center.jquery-tablesorter { /*width: min-content;*/ } #possible-modifiers-table, .olo.lined.sortable.jquery-tablesorter, .olo.lined { width: auto; } /**** base styles END ***********************************************************/ /*********************************************************************************************************/ input, button { color: var(--theme-control-text-color); /*caret-color: var(--theme-text-color);*/ } input[type=submit] { color: var(--theme-control-text-color); } ::placeholder { color: var(--theme-text-color-placeholder); } /* Removes VisualEdit button */ #ca-ve-edit { display: none; } /* Link color */ .mw-parser-output a.external, .mw-parser-output a.external:visited, .mw-parser-output a.extiw, .mw-parser-output a.extiw:visited, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: var(--theme-link-color); } /* Text color */ #content, .infocard .main-heading .hgroup, #footer ul li, h1, h2, h3, h4, h5, h6, div.hat-note.t-main, .npc.infobox .section.statistics .title, .npc.infobox.c-expert .section .title, .npc.infobox.c-master .section .title, #contentSub, #contentSub2, .search-types .current a, .infobox > .title > span, code, .trw-toggleable.not-toggled.achievements .achievement b * { color: var(--theme-text-color); } .i .note, .note-text { color: var(--theme-text-color-note); } .small { font-size: 85%; } .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* References smaller text than main */ .references { font-size: 90%; } /* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; } /* Facilitate inline scary transclusion */ .scary-transclusion p, .scary-transclusion .mw-parser-output { display: inline; } /* hide last empty paragraph at the end */ div.mw-parser-output > p:last-child > br:only-child { display: none; } /* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */ .apihelp-parameters dd:empty::before { content: " "; } .block { display: block; } .inline { display: inline; } .inline-block { display: inline-block; } hr.space { height: 4px; background: none; border: 0; } .page-content .vertical-align-top * { vertical-align: top; } .page-content .vertical-align-bottom * { vertical-align: bottom; } /* Drowning Table No Border */ .drowning-table-no-border { border: none; } /* Gadget description length */ .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header, .oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body { max-width: unset; } /* Box at the top of all pages when the user has a new message on their User_talk: page */ .usermessage { background-color: var(--theme-box-background-color); border-color: var(--theme-box-border-color); color: var(--theme-text-color); } /*********************************************************************************************************** * interface layout and styles for widgets outside of content box ***********************************************************************************************************/ :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ --main-layout-sidebar-width: 170px; /* width of side navbar, without gap */ --main-layout-sidespace: 24px; /* whitespace width on most left and most right */ --main-layout-gap: 12px; --main-layout-logo-height: calc( var(--theme-site-logo-height) + 30px); --main-box-border-radius: 5px; --main-inner-box-border-radius: calc(var(--main-box-border-radius) - 2px); --main-box-padding: 12px; background: var(--theme-site-background); /* Removes second vertical scrollbar(mw 1.37 fix) */ overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */ } /**** Main Layout START ***********************************************************/ /** * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout */ html, body { min-height: 100%; } html { height: 100%; scroll-padding-top: var(--main-layout-topbar-height); } body { height: auto; } /*** main grid container ***/ body { /* self */ box-sizing: border-box; /* grid */ display: grid; grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end]; gap: 0 var(--main-layout-gap); } /*** grid items ***/ /* Flatten DOM structure. Therefore we have following grid items under body grid container: * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer. */ body > .content-wrapper, #mw-navigation { display: contents; } /** unused, hide them **/ #mw-head-base, #mw-navigation > h2 { display: none; } /** side nav bar **/ #mw-panel { grid-column: aside-left/aside-right; grid-row: nav-start/page-end; margin-bottom: var(--main-layout-gap); float: none; width: unset; padding: 0; } /** nav **/ #mw-head { grid-column: content-left/content-right; grid-row: nav-start/nav-end; } /** content **/ .mw-body { grid-column: content-left/content-right; grid-row: content-start/content-end; } /* For some page such as api.php, .mw-body is the only child, so take up all space. */ .mw-body:first-child { grid-column: body-left/body-right; grid-row: page-start/page-end; } /** #footer: content footer **/ #footer { grid-column: content-left/content-right; grid-row: footer-start/footer-end; margin: 0; } /** used to gen box shadow for main box (nav + content + #footer) **/ #mw-page-base { grid-column: content-left/content-right; grid-row: nav-start/footer-end; height: 100%; background: none; } /** wiki.gg footer bar **/ body > footer { grid-column: body-left/body-right; grid-row: page-end/body-end; } /*** logo block. It is absolute position ***/ #p-logo { position: absolute; width: 100%; height: var(--main-layout-logo-height); left: 0; top: var(--main-layout-topbar-height); background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat; display: flex; align-items: center; justify-content: center; } /* use logo image as <a>'s background will sometime flicker when hovered on Firefox, * I still don't know why, but move background to #p-logo can avoid this issue. */ #p-logo .mw-wiki-logo { width: var(--theme-site-logo-width); height: var(--theme-site-logo-height); margin: auto; background: none; /* logo flicker fix */ } /**** Main Layout END ***********************************************************/ /**** side panel START ***********************************************************/ #mw-panel { font-size: 12px; line-height: 1.5; color: var(--theme-text-color); } #mw-panel a { text-decoration: none; } /* sections */ #mw-panel .portal, #mw-panel #p-logo + .portal { margin: var(--main-layout-gap) 0 0 0; padding: 0; border-radius: var(--main-box-border-radius); box-shadow: var(--theme-sidebar-box-shadow); color: var(--theme-sidebar-heading-text-color); background: var(--theme-sidebar-box-background); border-width: var(--theme-sidebar-box-border-width); border-style: var(--theme-sidebar-box-border-style); border-color: var(--theme-sidebar-box-border-color); } #mw-panel #p-logo + .portal { margin-top: 0; position: relative; } /* secction heading */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { margin: 0; padding: 6px 12px; border-bottom: var(--theme-sidebar-heading-border-bottom); border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0; background: var(--theme-sidebar-heading-background); font-size: 18px; line-height: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ecb163; text-shadow: 1px 0.5px 0 #ad2708; font-family: Helvetica, Arial, sans-serif; } /* arrow icon */ #mw-panel .portal h3::after { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-sidebar-heading-arrow-color) transparent; border-width: 0 5px 6px 5px; margin-top: 4px; vertical-align: middle; flex: 0 0 auto; } #mw-panel .portal h3:hover::after { border-color: var(--theme-sidebar-heading-arrow-color-hover) transparent; } #mw-panel .portal.collapsed h3 { border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal.collapsed h3::after { border-width: 6px 5px 0 5px; } /* list */ #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { border: 0; padding: 0; margin: 0; border-top: var(--theme-sidebar-list-border-top); background: var(--theme-sidebar-list-background); background-clip: border-box; border-radius: 0 0 var(--main-inner-box-border-radius) var(--main-inner-box-border-radius); } #mw-panel .portal .body ul { padding: var(--theme-sidebar-list-padding-top) 4px 4px; } #mw-panel .portal .body li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; background: var(--theme-sidebar-list-item-background); border-radius: var(--main-inner-box-border-radius); } #mw-panel .portal .body li:hover { background: var(--theme-sidebar-list-item-hover-mask); } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { display: block; padding: 3px 8px; color: var(--theme-sidebar-list-item-text-color); } #mw-panel .portal .body li a:hover { color: var(--theme-sidebar-list-item-text-color-hover); } #mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */ text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */ background-position: 8px center; /* align icon with other text */ } #merch { margin: 1.5em auto auto 1em; } /**** side panel END ***********************************************************/ /**** main content box START ***********************************************************/ /**** box shadow for nav+content+#footer ****/ #mw-page-base { box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); background: var(--theme-box-base-background); } /**** navbar ****/ #mw-head { padding: 14px var(--main-box-padding) 0; box-sizing: border-box; background: var(--theme-navbar-background); border-width: var(--theme-navbar-border-width); border-style: var(--theme-navbar-border-style); border-color: var(--theme-navbar-border-color); border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; position: relative; display: flex; justify-content: space-between; align-items: flex-end; } #mw-head #left-navigation, #mw-head #right-navigation { float: none; flex: 1 1 auto; margin: 0; display: flex; align-items: flex-end; } #mw-head #left-navigation { justify-content: flex-start; } #mw-head #right-navigation { justify-content: flex-end; } /* reset */ #p-search, .vector-menu-dropdown, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-dropdown .vector-menu-heading span, .vectorTabs, .vectorTabs ul, .vectorTabs span, .vectorTabs li, .vectorTabs li a, .vectorTabs li.selected a, .vectorTabs li.selected a:visited { background-image: none; float: none; height: auto; display: block; } #mw-head input { display: block; z-index: 1; } #mw-head input + h3 { z-index: 0; } .vectorMenuCheckbox:focus + h3 { outline: 0; } .vectorTabs ul { display: flex; } .vectorTabs ul li, .vector-menu-dropdown { display: block; white-space: nowrap; } .vector-menu-dropdown.emptyPortlet { display: none; } /* override some mw css */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { color: var(--theme-navbar-tab-text-color); font-size: 14px; line-height: 24px; padding: 3px 12px; overflow: hidden; } .vector-menu-dropdown .vector-menu-heading:hover span { color: var(--theme-navbar-tab-text-color); /* reset */ text-decoration: underline; } .vectorTabs li, .vector-menu-dropdown { background: var(--theme-navbar-tab-background); border-style: solid; border-color: var(--theme-navbar-tab-border-color); border-width: 1px 1px 0 1px; border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0; box-shadow: var(--theme-navbar-tab-box-shadow); position: relative; margin-right: calc(var(--main-box-padding) / 2); } div.vectorTabs li:hover, div.vector-menu-dropdown:hover, div.vector-menu-dropdown.open { color: var(--theme-navbar-tab-text-color-hover); border-color: var(--theme-navbar-tab-border-color-hover); background: var(--theme-navbar-tab-background-hover); } div.vectorTabs li.selected:hover a, div.vectorTabs li.selected:hover a:visited, div.vectorTabs li:hover a, div.vector-menu-dropdown:hover h3 span, div.vector-menu-dropdown.open h3 span { color: var(--theme-navbar-tab-text-color-hover); } .vectorTabs li.new a, .vectorTabs li.new a:visited { color: var(--theme-navbar-tab-text-color-redlink); } .vectorTabs li.selected { background: var(--theme-navbar-tab-selected-background); border-color: var(--theme-navbar-tab-selected-border-color); } .vectorTabs li.selected:hover span { background: none; } /* watch/unwatch star */ .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { display: block; position: unset; width: 18px; height: 18px; padding: 6px 8px; box-sizing: content-box; } .vector-menu-tabs .mw-watchlink.icon a::before { height: 18px; width: 18px; display: inline-block; position: unset; margin-right: 20px; } .vector-menu-tabs #ca-unwatch.icon .loading::before, .vector-menu-tabs #ca-watch.icon .loading::before { transform-origin: 50% 52%; } #mw-head .vector-menu-dropdown .vector-menu-heading { padding: 0; margin: 0; } .vector-menu-dropdown .vector-menu-heading::after { display: none; } .vector-menu-dropdown .vector-menu-heading span::after { content: ""; display: inline-block; background: none; position: unset; width: 0; height: 0; border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent; border-style: solid; border-width: 6px 5px 0 5px; margin-left: 4px; vertical-align: middle; } .vector-menu-dropdown .vector-menu-checkbox:checked ~ h3 span::after, .vector-menu-dropdown:hover h3 span::after { border-width: 0 5px 6px 5px; border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent; } /* drop down menu */ .vector-menu-dropdown.open .menu { visibility: visible; } /* reset mw 1.37 css */ .vector-menu-dropdown:not(.vector-user-menu) li { font-size: 1em; } .vector-menu-dropdown .vector-menu-content, .vector-menu-dropdown > .menu { font-size: 15px; background: var(--theme-navbar-tab-dropdown-background); margin: 0; border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: 1px; border-style: solid; border-color: var(--theme-navbar-tab-dropdown-border-color); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); padding: 4px; top: 100%; left: -1px; /* 1px for border */ min-width: 8em; } .vector-menu-dropdown .menu li a { text-decoration: none; padding: 10px 8px; border-radius: calc(var(--main-box-border-radius) - 2px); font-size: 1em; color: var(--theme-navbar-tab-text-color); } .vector-menu-dropdown .menu li a:hover { background-color: var(--theme-navbar-tab-dropdown-hover-mask); color: var(--theme-navbar-tab-text-color-hover); } .vector-menu-dropdown li.selected { display: none; /* just remove current selected (already displayed in header) */ } /* search */ #p-search form, #p-search input { margin: 0; } #mw-head #p-search { margin: 0 0 4px calc(var(--main-layout-gap) / 2); box-shadow: var(--theme-navbar-tab-dropdown-box-shadow); } #simpleSearch { background: none; margin: 0; border: 0; color: var(--theme-text-color); width: 18em; padding: 0; height: auto; border-radius: 0; transition: none; display: grid; grid-template-columns: 1fr 0fr; grid-template-rows: 1fr; align-content: stretch; justify-content: stretch; } #simpleSearch #searchInput { grid-column: 1/2; grid-row: 1/2; font-size: 14px; line-height: 16px; text-align: left; padding: 3px 5px; background: var(--theme-navbar-search-input-background); border-radius: 2px 0 0 2px; border-width: 1px; border-style: solid; border-color: var(--theme-navbar-search-input-border-color); border-right: 0; word-wrap: break-word; appearance: none; -webkit-appearance: none; color: var(--theme-navbar-search-input-text-color); height: auto; } #searchInput:focus, #simpleSearch:hover #searchInput, #simpleSearch:hover #searchInput:focus { border-color: var(--theme-navbar-search-input-border-color); box-shadow: none; } #simpleSearch #searchButton { grid-column: 2/3; grid-row: 1/2; box-sizing: border-box; position: static; /* reset css from mw internal */ display: block; width: 28px; height: 100%; /* mw internal css override its button default styles, so override again */ background: var(--theme-navbar-search-button-background); border: 1px solid; border-color: var(--theme-navbar-search-botton-border-color); border-radius: 0 2px 2px 0; z-index: 0; } #simpleSearch #searchButton:hover, #searchInput:hover ~ #searchButton, #searchInput:focus ~ #searchButton { background: var(--theme-navbar-search-button-background-active); border-color: var(--theme-navbar-search-botton-border-color-active); } /* use ::before & ::after to draw search icon */ #simpleSearch::before, #simpleSearch::after { content: ""; display: block; grid-column: 2/3; grid-row: 1/2; z-index: 1; place-self: center; border-style: solid; border-color: var(--theme-navbar-search-botton-text-color); pointer-events: none; } #simpleSearch:hover::before, #simpleSearch:hover::after { border-color: var(--theme-navbar-search-botton-text-color-active); } #simpleSearch::before { border-width: 2px; border-radius: 100%; width: 8px; height: 8px; margin: 0 0 1px 0; transform: translateX(-1px); } #simpleSearch::after { border-width: 1px; width: 3px; height: 0; transform: translate(4px, 4px) rotate(45deg); } /* search result suggestion */ .suggestions { background: var(--theme-navbar-search-suggestions-background); border: 1px solid; border-color: var(--theme-navbar-search-suggestions-border-color); transform: translateX(3px); /* self border 2px + input border 1px */ } .suggestions .suggestions-results, .suggestions .suggestions-special { background: none; border: 0; } .suggestions .suggestions-results { border-bottom: 1px solid; border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color); } .suggestions .suggestions-result, .suggestions .suggestions-special .special-query, .suggestions a.mw-searchSuggest-link, .suggestions a.mw-searchSuggest-link:hover, .suggestions a.mw-searchSuggest-link:active, .suggestions a.mw-searchSuggest-link:focus { color: var(--theme-navbar-search-suggestions-text-color); } .suggestions .suggestions-result-current { background: var(--theme-navbar-search-suggestions-hover-mask); color: var(--theme-navbar-search-suggestions-text-color-hover); } .suggestions .suggestions-special { margin-top: var(--theme-navbar-search-suggestions-special-offset-top); border-top: 1px solid; border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color); } .suggestions .suggestions-special .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color); } .suggestions .suggestions-result-current .special-label { color: var(--theme-navbar-search-suggestions-special-label-text-color-hover); } /**** main content box ****/ body .mw-body { color: var(--theme-text-color); /* override mw internal css */ background: var(--theme-content-background); border-style: var(--theme-content-border-style); border-width: var(--theme-content-border-width); border-color: var(--theme-content-border-color); margin: 0; padding: 0; z-index: 1; /* cover #footer */ display: flex; flex-direction: column; } .content-body { flex: 1 1 auto; } .content-body > main { align-self: stretch; padding: var(--main-box-padding); } #firstHeading { border: 0; margin: 0; overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */ } #contentSub, #contentSub2 { margin: 0; } #contentSub .subpages { color: transparent; line-height: 1.5; font-size: 0; } #contentSub .subpages a { font-size: 12px; vertical-align: middle; display: inline-flex; align-items: center; padding-left: 4px; } #contentSub .subpages a::before { content: ""; display: inline-block; height: 4px; width: 4px; border-color: var(--theme-content-subpage-icon-color); border-style: solid; border-width: 0 0 2px 2px; margin: 0 2px 0 0; transform: rotate(45deg); } #bodyContent { display: flex; flex-direction: column; } #mw-content-text { flex: 1 1 auto; min-height: 35em; } #mw-content-text::before { content: ""; display: block; height: 0; border-top: var(--theme-content-heading-rule-border-top); border-bottom: var(--theme-content-heading-rule-border-bottom); margin-top: 2px; margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */ } /* section edit link */ .mw-editsection { white-space: nowrap; } /* "category:" box */ #catlinks { background: var(--theme-content-category-background); border-width: var(--theme-content-category-border-width); border-style: var(--theme-content-category-border-style); border-color: var(--theme-content-category-border-color); border-radius: var(--theme-content-category-border-radius); margin: var(--main-layout-gap) 0 0 0; padding: calc(var(--main-box-padding) / 2) var(--main-box-padding); } /* ads */ div.games-showcase-header, div.games-showcase-footer, .content-body > .games-showcase-sidebar { margin: 0; padding: var(--main-box-padding); } div.games-showcase-header { padding-bottom: 0; } div.games-showcase-footer { padding-top: 0; } .games-showcase-header img, .games-showcase-footer img { height: 100%; width: auto; object-fit: contain; } .content-body > .games-showcase-sidebar { padding-left: 0; } aside.games-showcase-sidebar div.sidebar-showcase { padding: 0 0 var(--main-box-padding) 0; } @media screen and (max-width: 1100px) { .games-showcase-header img, .games-showcase-footer img { height: auto !important; width: 100% !important; object-fit: contain; } } @media screen and (max-width: 926px) { .games-showcase-header img, .games-showcase-footer img { object-position: 50%; height: 105px !important; width: 100% !important; object-fit: none !important; } } /**** #footer (copyright info) ****/ #footer { /* self */ color: var(--theme-footer-text-color); background: var(--theme-footer-background); padding: var(--main-box-padding); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); border-width: var(--theme-footer-border-width); border-style: var(--theme-footer-border-style); border-color: var(--theme-footer-border-color); box-shadow: var(--theme-footer-box-shadow); position: relative; /* grid */ display: grid; grid-template-columns: [l] 1fr 0fr [r]; grid-template-rows: [t] auto auto [b]; z-index: 0; /* covered by content */ } #footer-info { font-size: 11px; display: contents; } #footer ul li { font-size: inherit; line-height: 1.5; padding: 0; } #footer-icons { grid-column: span 1/r; grid-row: t/b; place-self: end; } #footer #footer-info-lastmod { grid-column: l/span 1; grid-row: t/span 1; place-self: start; margin-bottom: 1em; } #footer #footer-info-copyright { grid-column: l/span 1; grid-row: span 1/b; place-self: end stretch; position: relative; padding-right: 100px; } #footer-info-copyright img { position: absolute; right: 0; /* mediawiki logo is 31px height, and this image has a 1px black border, a small tweak to make them visually matched on size and position */ bottom: -1px; height: 33px; width: auto; } #footer-places, #footer > div { display: none; } /**** main content box START ***********************************************************/ /****** responsive Layout ******/ @media screen and (max-width: 1800px) { :root { --main-layout-sidespace: 0; /* whitespace width on most left and most right */ } } /* screen and (max-width: 1800px) */ @media screen and (max-width: 1365px) { :root { --main-layout-sidespace: 0; --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px); } /* re-style "sidebar" nav */ body { height: 100%; grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right]; grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end]; } #p-logo { background-size: calc(var(--theme-site-logo-width) * 0.75) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.75); height: calc(var(--theme-site-logo-height) * 0.75); } #mw-panel { grid-column: aside-left/aside-right; grid-row: aside-start/aside-end; box-shadow: var(--theme-sidebar-box-shadow); background: var(--theme-sidebar-box-background-2); border-width: var(--theme-sidebar-box-border-width-2); border-style: var(--theme-sidebar-box-border-style-2); border-color: var(--theme-sidebar-box-border-color-2); border-radius: var(--main-box-border-radius); height: 39px; display: flex; align-items: flex-end; padding: 0 var(--main-layout-gap); } #mw-panel .portal, #mw-panel #p-logo + .portal { background: none; box-shadow: none; border: 0; margin: 0; position: relative; } #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { padding: 9px 12px 8px; border: 0; border-radius: 0; background: none; } #mw-panel #p-logo + .portal.expanded h3, #mw-panel .portal.expanded h3, #mw-panel #p-logo + .portal:hover h3, #mw-panel .portal:hover h3 { background: var(--theme-sidebar-list-item-hover-mask); border-radius: 0; } #mw-navigation #mw-panel .portal h3::after { margin-left: 4px; } #mw-panel div.portal h3::after { border-width: 6px 5px 0 5px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 5px 6px 5px; } #mw-panel #p-logo + .portal .body, #mw-panel .portal .body { display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */ position: absolute; left: 0; top: 100%; z-index: 50; width: max-content; border-top: 0; background: var(--theme-sidebar-dropdown-background); box-shadow: var(--theme-sidebar-box-shadow); border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius); min-width: 8em; } #mw-panel #p-logo + .portal.expanded .body, #mw-panel .portal.expanded .body, #mw-panel #p-logo + .portal:hover .body, #mw-panel .portal:hover .body { display: block !important; } #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited { padding: 6px 8px; } /* search: move to sidebar nav box ("main nav bar") */ #mw-head #p-search { position: absolute; top: calc(0px - var(--theme-sidebar-box-border-width-2) - 45px); } #mw-head #right-navigation #p-cactions { margin-right: 0; } /* "more" menu in #right-navigation causes horizontal scroll bar appear */ #right-navigation .vector-menu-dropdown .vector-menu-content { left: auto; right: -1px; /* 1px for border */ } /* hide sidebar toggle */ #nav-content-size-toggle { display: none; } /* site footer */ body > footer { margin-top: var(--main-layout-gap); } } /* screen and (max-width: 1365px) */ @media screen and (max-width: 900px) { :root { --main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px); --main-layout-gap: 6px; --main-box-padding: 6px; } body { grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right]; } /** reset mw internal css **/ div#content { margin: 0; } #mw-head { position: relative !important; margin-top: 0; top: 0; } div#mw-navigation div#mw-panel { display: flex; position: static; width: auto; overflow: visible; } div#mw-navigation div#mw-panel .portal { width: auto; } body #footer { padding-top: 0.75em; } body #footer #footer-info-lastmod, body #footer #footer-info-viewcount { display: block; } #mw-head div#left-navigation, #mw-head div#right-navigation { position: static; } div#p-logo { display: block; /* move to left */ margin: 0 var(--main-layout-gap); width: calc(var(--theme-site-logo-width) * 0.5); background-size: calc(var(--theme-site-logo-width) * 0.5) auto; } #p-logo .mw-wiki-logo { width: calc(var(--theme-site-logo-width) * 0.5); height: calc(var(--theme-site-logo-height) * 0.5); } div.mw-body { margin-top: 0; } #mw-head #p-search { background: var(--theme-navbar-search-background); padding: var(--main-box-padding); border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius); border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width); border-color: var(--theme-box-border-color); border-style: var(--theme-box-border-style); top: -100px; right: 0; z-index: 50; } #mw-head, #mw-panel, .mw-body, #footer, #mw-page-base { border-radius: 0; border-left: 0; border-right: 0; } #mw-panel::before { left: 0; right: 0; } } /* screen and (max-width:900px) */ @media screen and (max-width: 720px) { :root { --main-layout-topbar-height: 35px; /* height of wiki.gg topbar */ } /* reset */ div#p-namespaces, div#p-views, div#p-variants { top: 0; } div#mw-navigation div#mw-panel { font-size: 12px; } /* styles */ #mw-panel #p-logo + .portal h3, #mw-panel .portal h3 { font-size: 12px; padding: 8px 6px; } #mw-panel div.portal h3::after, #mw-panel .portal.collapsed h3::after { border-width: 5px 4px 0; margin-top: 1px; } #mw-panel div.portal.expanded h3::after, #mw-panel div.portal:hover h3::after { border-width: 0 4px 5px; } #mw-panel #p-logo + .portal { margin-left: calc(var(--main-layout-gap) - 6px); } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { font-size: 12px; padding: 1px 8px; } .vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-unwatch.icon a.loading, .vectorTabs #ca-watch.icon a.loading { padding: 4px 8px; } } /* screen and (max-width:720px) */ @media screen and (max-width: 600px) { /* reset mw internal css */ #footer #footer-icons { float: none; } #footer #footer-info-copyright { padding-right: 0; padding-bottom: 40px; right: auto; left: 0; } #footer-info-copyright img { right: auto; left: 0; } div#p-logo { margin: auto; width: 100%; } #mw-panel { margin-top: 45px; } #mw-panel::before { transform: translateY(45px); } #mw-head #p-search { top: -95px; box-sizing: border-box; width: 100%; max-width: 20em; margin: 0; padding: var(--main-box-padding); box-shadow: none; left: 50%; right: auto; transform: translateX(-50%); border-radius: var(--main-box-border-radius); border-width: var(--theme-box-border-width); } div#simpleSearch { margin: auto; width: auto; } /* content nav to icons */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vector-menu-dropdown .vector-menu-heading span { width: 20px; height: 20px; line-height: 20px; padding: 3px 6px; box-sizing: content-box; } div.vectorTabs li a::before, div.vector-menu-dropdown .vector-menu-heading span::before { content: ""; display: inline-block; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 20px; height: 0; border-bottom: 60px solid transparent; filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color)); margin: -40px 20px 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A"); } div.vectorTabs li:hover a::before, div.vector-menu-dropdown:hover h3 span::before, div.vector-menu-dropdown.open h3 span::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover)); } .vectorTabs li.new a::before, .vectorTabs li.new:hover a::before { filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink)); } #ca-edit a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A"); } #ca-view a::before, #ca-view-foreign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E"); } #left-navigation li[id^=ca-nstab-] a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A"); } #ca-history a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A"); } #ca-talk a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A"); } #t-contributions a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E"); } #ca-addsection a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A"); } #ca-viewsource a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A"); } #p-variants h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E"); } #p-cactions h3 span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E"); } /* Except watch/unwatch star. It does not work under chrome. */ div.vectorTabs li.mw-watchlink a::before { border: 0; filter: none; margin: 0 20px 0 0; } } /* screen and (max-width:600px) */ @media screen and (max-width: 450px) { #mw-panel { padding-left: 6px; padding-right: 6px; } #mw-panel div.portal h3::after { display: none; } #mw-panel #p-navigation #p-navigation-label, #mw-panel #p-lang #p-lang-label { width: 18px; display: block; white-space: nowrap; padding: 8px; } #p-navigation-label::before, #p-lang-label::before { content: ""; display: inline-block; vertical-align: bottom; background-color: transparent; background-repeat: no-repeat; background-position: center top; background-size: 100% auto; width: 18px; height: 0; border-bottom: 60px solid transparent; position: relative; filter: drop-shadow(0 42px 0 var(--theme-text-color)); margin: -42px 20px 0 0; } #p-navigation-label::before { background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E"); } #p-lang-label::before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E"); } #mw-navigation #mw-panel #p-lang { margin-left: auto; display: flex; justify-content: flex-end; } #mw-panel #p-lang .body { left: auto; right: 0; } div#simpleSearch { width: 90%; } } /* screen and (max-width:450px) */ /***** Notification *****/ .mw-notification { color: var(--theme-text-color); border: 1px solid; background: var(--theme-box-background); border-color: var(--theme-box-border-color); box-shadow: var(--theme-box-shadow); border-radius: var(--main-box-border-radius); transform: none; } /* postedit notification */ .postedit-container { top: 4em; } /* Notification boxes on the right, e.g. after patrolling an edit */ .mw-notification.mw-notification-type-error { color: var(--theme-notice-red-text-color); border-color: var(--theme-notice-red-text-color); } .mw-notification.mw-notification-type-warn { color: var(--theme-notice-orange-text-color); border-color: var(--theme-notice-orange-text-color); } table.diff .diff-context { background: rgba(248, 249, 250, 0.15); color: var(--theme-text-color); } table.diff .diff-addedline .diffchange { background: rgba(74, 166, 255, 0.6); } table.diff .diff-deletedline .diffchange { background: rgba(255, 198, 63, 0.6); } div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background: #231c3b; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon { filter: invert(1); } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon { filter: none; } .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title { color: #ddd; } #mw-indicator-mw-helplink a { background: none; position: relative; } #mw-indicator-mw-helplink a:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34); filter: invert(1); } /* css for floating-scroll v3.2.0 https://amphiluke.github.io/floating-scroll/ (c) 2022 Amphiluke */ .fl-scrolls { overflow: auto; position: fixed; } .fl-scrolls div { overflow: hidden; pointer-events: none; } .fl-scrolls div:before { content: " "; } .fl-scrolls, .fl-scrolls div { font-size: 1px; line-height: 0; margin: 0; padding: 0; } .fl-scrolls-hidden div:before { content: "  "; } .fl-scrolls-viewport { position: relative; } .fl-scrolls-body { overflow: auto; } .fl-scrolls-viewport .fl-scrolls { position: absolute; } .fl-scrolls-hoverable .fl-scrolls { opacity: 0; transition: opacity 0.5s 0.3s; } .fl-scrolls-hoverable:hover .fl-scrolls { opacity: 1; } .fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] { bottom: 0; min-height: 17px; } .fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div { height: 1px; } .fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] { bottom: 9999px; } .fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] { left: 0; } .fl-scrolls[data-orientation=vertical] { right: 0; min-width: 17px; } .fl-scrolls[data-orientation=vertical] div { width: 1px; } .fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] { right: 9999px; } .fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] { top: 0; } /*css for wide table */ .table-wide { clear: both; position: relative; } .mw-parser-output > .table-width { margin-top: 0.5em; margin-bottom: 0.5em; } .table-wide-inner { overflow-x: auto; } .table-wide-inner > table { margin: 0 !important; } .table-wide:before { box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color); content: ""; display: block; width: 20px; height: 100%; pointer-events: none; position: absolute; right: 0; z-index: 2; } /*********************************************************************************************************** * Common styles for "real" wiki page content. ***********************************************************************************************************/ /* remove external link icon. */ .mw-parser-output a.external, .link-https { padding-right: 0; background: none; } /** ToC **/ .toc { border-radius: 4px; border: 1px solid var(--theme-border-color); background: var(--theme-box-background); margin: 1em auto 1em 0; padding: 0; font-size: 1em; min-width: 12em; } .toc .toctitle h2 { margin: 0; display: flex; align-items: center; padding: 0 0.5em; } .toc .toctitle h2::before { content: ""; display: block; width: 12px; height: 0; border-bottom: 52px solid transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center top; background-size: 100% auto; filter: drop-shadow(0 40px 0 var(--theme-text-color)); margin: -40px 6px 0 0; } .toc .toctitle { position: relative; overflow: hidden; text-align: left; } .toc .toctogglelabel { position: absolute; width: 100%; height: 100%; left: 0; top: 0; box-sizing: border-box; padding-right: 1em; display: flex; align-items: center; justify-content: flex-end; } .toc .toctogglespan::before, .toc .toctogglespan::after { display: none; } .toc .toctogglelabel::after { display: none; } .toc .toctogglelabel::before { content: ""; display: inline-block; background: none; position: relative; width: 0; height: 0; border-style: solid; border-color: var(--theme-widget-toc-arrow-color) transparent; border-width: 0 5px 6px 5px; vertical-align: middle; flex: 0 0 auto; } .toc .toctogglelabel:hover::before { border-color: var(--theme-widget-toc-arrow-color-hover) transparent; } .toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before { border-width: 6px 5px 0 5px; } /* Won't change ToC box width when toggle show/hide. */ .toctogglecheckbox:checked ~ ul { overflow: hidden; display: block; height: 0; border: 0; padding-top: 0; padding-bottom: 0; } /* content list */ .mw-content-ltr .toc ul ul, .mw-content-rtl.toc ul ul { margin: 0 0 0 1em; } .toc a { color: var(--theme-text-color); } .toc .tocnumber { color: var(--theme-text-color-note); } .toc .tocnumber::after { content: "."; } .toc .toctitle, .toc > ul { padding: 0.5em; } .toc > ul { border-top: 1px solid var(--theme-border-color); margin: 0; } .toc > ul a { display: block; padding: 2px 0.5em; border-radius: 4px; transition: background 0.1s; } .toc > ul a:hover { text-decoration: none; background: var(--theme-widget-toc-item-hover-background); } .toc h2 { font-weight: normal; } .toc li { margin: 0; } /*********************************************************************************************************** * common style for content box ***********************************************************************************************************/ .fullwidth, .full-width { width: 100%; } .nowrap { white-space: nowrap; } /* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; } .alignleft, .align-left { text-align: left; } .alignright, .align-right { text-align: right; } /* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; } /* Thumbnail background color */ html .thumbimage { background-color: #4d3a32; } /** gallery **/ .thumbinner { border-radius: 5px; } li.gallerybox div.thumb { border-radius: 5px; } .gallery * { box-sizing: initial; } .mw-gallery-traditional .thumb { display: flex; } .mw-gallery-traditional .thumb a { display: block; } /*********************************************************************************************************** * css for specific pages ***********************************************************************************************************/ /*********** Main page START ****************/ /* Hide page title on main page */ body.rootpage-Tavernacle_Wiki.action-view h1.firstHeading, body.rootpage-Tavernacle_Wiki.action-view .mw-body .mw-indicators, body.rootpage-Tavernacle_Wiki.action-view #mw-content-text::before { display: none; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .footer { text-align: right; font-size: 12px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { border: 1px solid var(--theme-border-color); border-radius: var(--main-box-border-radius); padding: 1.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent h2 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent p { margin: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: flex; gap: 1em; align-items: stretch; margin-bottom: 1em; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { flex: 1 0 auto; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box { margin-bottom: 1em; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header { font-size: 12px; text-align: center; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header h2 em { display: inline-block; font-style: normal; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links ul { margin: 1em auto auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .box.header .links li { list-style: none; display: inline-block; margin: 0 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: flex; gap: 12px; flex-direction: column; flex: 1 1 400px; } @media (max-width: 900px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .intro { display: block; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay { flex: 3 3 1100px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { display: flex; gap: 1em; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a { flex-wrap: wrap; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 160px; } @media (max-width: 600px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a div { flex: 1 1 auto; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a h3 { margin-top: 0; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .gameplay .a img { width: 100%; height: auto; display: block; margin-bottom: 0.5em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot { flex: 1 1 800px; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { display: block; flex: 1 1 28%; } @media (max-width: 1024px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 40%; } } @media (max-width: 500px) { body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a { flex: 1 1 80%; } } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .screenshot > div a img { width: 100%; height: auto; } body.rootpage-Tavernacle_Wiki.action-view #bodyContent .content-wrap .comm { flex: 1 1 410px; } /*********** Main page END ****************/ #p-logo { filter: drop-shadow(0 0 3px rgba(255, 198, 105, 0.4)); } #filetoc, code, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined, .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-search-profile-tabs, #mw-searchoptions, .mw-datatable td { background: none; } .oo-ui-textInputWidget .oo-ui-inputWidget-input { background: #1f3030; color: var(--theme-text-color); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover { background: var(--theme-button-background); border: var(--theme-button-border-color); } #mw-allmessagestable tbody:hover td { background: var(--theme-highlight-background); } .mw-datatable th { background: var(--theme-button-background); } li.gallerybox div.thumb { background: var(--theme-box-background); } ul { list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>'); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--theme-text-color-note); } .oo-ui-tabSelectWidget-framed, .mw-prefs-buttons { background: none; } .oo-ui-tabOptionWidget { color: var(--theme-text-color); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { color: var(--theme-text-color); background: none; } 686d649f5d75c0fc620ca49f3ddee77f5953f13c File:Feature1.jpg 6 15 63 2022-12-20T15:21:00Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Feature2.jpg 6 16 64 2022-12-20T15:21:05Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Feature3.jpg 6 17 65 2022-12-20T15:21:18Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Screenshot1.jpg 6 18 69 2022-12-20T15:26:58Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Screenshot2.jpg 6 19 70 2022-12-20T15:27:02Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Screenshot3.jpg 6 20 71 2022-12-20T15:27:06Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Screenshot4.jpg 6 21 72 2022-12-20T15:27:11Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Screenshot5.jpg 6 22 73 2022-12-20T15:27:14Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 File:Screenshot6.jpg 6 23 74 2022-12-20T15:27:19Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Template:InfoboxGame 10 24 87 2022-12-20T15:49:38Z Westgrass 40 Created page with "<includeonly><infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption"/> </image> <data source="developer"> <label>Developer</label> </data> <data source="publisher"> <label>Publisher</label> </data> <data source="release"> <label>Release date</label> </data> <data source="platform"> <label>Platform</label> </data> </infobox></includeonly> <noinclude> Usage:<p..." wikitext text/x-wiki <includeonly><infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption"/> </image> <data source="developer"> <label>Developer</label> </data> <data source="publisher"> <label>Publisher</label> </data> <data source="release"> <label>Release date</label> </data> <data source="platform"> <label>Platform</label> </data> </infobox></includeonly> <noinclude> Usage:<pre> {{InfoboxGame |title= |image= |caption= |developer= |publisher= |release= |platform= }} </pre> [[Category:Infobox templates]]</noinclude> 73a6ccdacd364fc12b0ff685b46a9faa0e0490c2 Template:Stub 10 25 88 2022-12-20T15:50:24Z Westgrass 40 Created page with "<div class="hat-note" style="border: 1px solid #993333;padding: 0.5em;">[[File:Edit-clear.svg|24px|link=]] This content is a [[:Category:Stubs|stub]]. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]. </div> <includeonly>{{{category|[[Category:Stubs]]}}}</includeonly><noinclude> == Usage == <nowiki>{{stub}}</nowiki> </noinclude>" wikitext text/x-wiki <div class="hat-note" style="border: 1px solid #993333;padding: 0.5em;">[[File:Edit-clear.svg|24px|link=]] This content is a [[:Category:Stubs|stub]]. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]. </div> <includeonly>{{{category|[[Category:Stubs]]}}}</includeonly><noinclude> == Usage == <nowiki>{{stub}}</nowiki> </noinclude> 7a4dd3da57400d75705adc45b1f2ae1163682b5e 92 88 2022-12-20T15:58:04Z Westgrass 40 wikitext text/x-wiki <div class="hat-note" style="border: 1px solid #993333;padding: 0.5em;margin-bottom: 1em;">[[File:Edit-clear.svg|24px|link=]] This content is a [[:Category:Stubs|stub]]. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]. </div> <includeonly>{{{category|[[Category:Stubs]]}}}</includeonly><noinclude> == Usage == <nowiki>{{stub}}</nowiki> </noinclude> 216229f5d9cc0575ac1bc39750de643cbd1794b5 Tavernacle! 0 26 89 2022-12-20T15:55:31Z Westgrass 40 Created page with "{{stub}} {{InfoboxGame |title= |image=site-background.jpg |caption=Game keyart |developer=[https://twitter.com/DamaDamaGames Dama Dama Games |publisher=[https://www.freedom.gg Freedom Games] |release= |platform=PC }} '''Tavernacle!''' is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. [[Category:Tavernacle!| ]]" wikitext text/x-wiki {{stub}} {{InfoboxGame |title= |image=site-background.jpg |caption=Game keyart |developer=[https://twitter.com/DamaDamaGames Dama Dama Games |publisher=[https://www.freedom.gg Freedom Games] |release= |platform=PC }} '''Tavernacle!''' is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. [[Category:Tavernacle!| ]] afe5b9dcb25fc4b55eaf2ae6d45dc7e5ea550903 90 89 2022-12-20T15:55:41Z Westgrass 40 wikitext text/x-wiki {{stub}} {{InfoboxGame |title= |image=site-background.jpg |caption=Game keyart |developer=[https://twitter.com/DamaDamaGames Dama Dama Games] |publisher=[https://www.freedom.gg Freedom Games] |release= |platform=PC }} '''Tavernacle!''' is a chaotic co-op Tower Defense game in which you and your friends play as a group of Dwarves in a fantasy world. [[Category:Tavernacle!| ]] 121e9828dc49dfad487a1190294bf11177080b6b Co-op 0 27 93 2022-12-20T15:59:02Z Westgrass 40 Created page with "{{stub}} Tavernacle! is a chaotic co-op Tower Defense that can be played solo, in local split-screen or online." wikitext text/x-wiki {{stub}} Tavernacle! is a chaotic co-op Tower Defense that can be played solo, in local split-screen or online. 3800424c0b7d806695bb62995e278fdb5941552d 94 93 2022-12-20T15:59:15Z Westgrass 40 wikitext text/x-wiki {{stub}} [[Tavernacle!]] is a chaotic co-op Tower Defense that can be played solo, in local split-screen or online. e5fe881e03d9f415ddd50ed7fde614de244cc4a4 Dwarves 0 28 95 2022-12-20T16:00:13Z Westgrass 40 Created page with "{{stub}} In game, you are a team of Dwarves." wikitext text/x-wiki {{stub}} In game, you are a team of Dwarves. c465561ce19a494193661796d3e249b55e127f90 File:Edit-clear.svg 6 29 96 2022-12-20T16:00:44Z Westgrass 40 wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 Hammer 0 30 97 2022-12-20T16:01:14Z Westgrass 40 Created page with "{{stub}} '''Hammer''' is your main tool." wikitext text/x-wiki {{stub}} '''Hammer''' is your main tool. a1d3adb3801ac2e4f555d7a947bc0671e9e5de85 Craft 0 31 98 2022-12-20T16:02:25Z Westgrass 40 Created page with "{{stub}} You can '''craft''' traps and much more." wikitext text/x-wiki {{stub}} You can '''craft''' traps and much more. 96ce1c3b1f183015255422150c60e8441acb9c9c 99 98 2022-12-20T16:02:32Z Westgrass 40 wikitext text/x-wiki {{stub}} You can '''craft''' [[traps]] and much more. 91ba42e92803ff609647bce61df616ab27cff4a2 Traps 0 32 100 2022-12-20T16:03:05Z Westgrass 40 Created page with "{{stub}} There are many '''traps''' which can be [[craft]]ed." wikitext text/x-wiki {{stub}} There are many '''traps''' which can be [[craft]]ed. ae22d03ae8190ee1bedd0b2cd155307fb8492512 Towers 0 33 101 2022-12-20T16:03:32Z Westgrass 40 Created page with "{{stub}} There are a varied set of '''towers'''." wikitext text/x-wiki {{stub}} There are a varied set of '''towers'''. 1187b425ce86c15bf95862941e8518d56ddd52ee Resources 0 34 102 2022-12-20T16:04:17Z Westgrass 40 Created page with "{{stub}} You must collect '''resources''' and bring them to your construction site for [[craft]]ing." wikitext text/x-wiki {{stub}} You must collect '''resources''' and bring them to your construction site for [[craft]]ing. d94a201f3a524e63d2ca61aa0078a8d99d26df1e Throw 0 35 103 2022-12-20T16:05:01Z Westgrass 40 Created page with "{{stub}} Throw supplies around, throw your friends, throw everything." wikitext text/x-wiki {{stub}} Throw supplies around, throw your friends, throw everything. 5b9b0d708add0c973c722ad5ef68943ec20f7790 Brewery 0 36 104 2022-12-20T16:05:44Z Westgrass 40 Created page with "{{stub}} The '''Brewery''' is the building you need to protect." wikitext text/x-wiki {{stub}} The '''Brewery''' is the building you need to protect. 14a09f64d98f6b583cbbc3b29eddb841f2f2291d Explosives 0 37 105 2022-12-20T16:06:19Z Westgrass 40 Created page with "{{stub}} There are many types of '''Explosives''' in game." wikitext text/x-wiki {{stub}} There are many types of '''Explosives''' in game. 525757524e4e3ba21538302fd2eeff9a81fbdbe3 Waves 0 38 106 2022-12-20T16:06:59Z Westgrass 40 Created page with "{{stub}} Monsters are approaching in [[waves]]." wikitext text/x-wiki {{stub}} Monsters are approaching in [[waves]]. e6c49fc32cabe03dd04f9bd87b8bd790367817f0 Tavernacle Wiki 0 1 107 86 2022-12-21T15:01:55Z Westgrass 40 Protected "[[Tavernacle Wiki]]" ([Edit=Allow only administrators] (indefinite)) wikitext text/x-wiki __NOTOC__ __NOTITLE__<!-- --><div class="content-wrap"><!-- --><div class="intro"><!-- --><div class="header box"><!-- --><div class="welcome"><!-- --><h2>Welcome to the Official <em>Tavernacle! Wiki</em></h2><!-- --><p>The Official Tavernacle! Wiki is written and maintained by the players.</p><!-- --><p>Please feel free to contribute by creating new articles or expanding on existing ones.</p><!-- --></div><!-- --><div class="links"><!-- --><ul><!-- --><li>[[file:Steam.svg|Tavernacle! on Steam|32x32px|link=https://store.steampowered.com/app/1937820/Tavernacle/]]</li><!-- --><li>[[file:Discord.svg|Tavernacle! on Discord|32x32px|link=https://discord.gg/BYfBexnZjc]]</li><!-- --><li>[[file:Twitter.svg|Tavernacle! on Twitter|32x32px|link=https://twitter.com/DamaDamaGames]]</li><!-- --><li>[[file:Facebook.svg|Tavernacle! on Facebook|32x32px|link=https://www.facebook.com/damadamagames/ ]]</li><!-- --><li>[[file:Instagram.svg|Tavernacle! on Instagram|32x32px|link=https://www.instagram.com/damadamagames/ ]]</li><!-- --><li>[[file:Reddit.svg|Tavernacle! on Reddit|32x32px|link=https://www.reddit.com/user/DamaDamaGames ]]</li><!-- --></ul><!-- --></div><!-- --></div><!-- --><div class="box about"><!-- --><h2>About The Game</h2><!-- --><p>[[Tavernacle!]] is a chaotic [[co-op]] Tower Defense game in which you and your friends play as a group of [[Dwarves]] in a fantasy world. Your favorite brewery is under attack, so go grab your [[hammer]], and start [[craft]]ing [[traps]], building [[towers]] and other defenses to protect the tavern. </p><!-- --></div><!-- --></div><!-- --><div class="box gameplay"><!-- --><h2>Features</h2><!-- --><div class="a"><!-- --><div><!-- --><h3>Be on the ground</h3><!-- -->[[File:feature1.jpg|link=]]<p>You must collect [[resources]] and bring them to your construction site, while dodging enemy attacks. [[Throw]] them if you can aim, and try to steer away from the many dangers of each level.</p><!-- --></div><!-- --><div><!-- --><h3>chaotic co-op Tower Defense</h3><!-- -->[[File:feature2.jpg|link=]]<p>Dwarves have a reputation of being moody, but you must communicate and cooperate if you are to save your beloved [[brewery]] from the monsters that are attacking.</p><!-- --></div><!-- --><div><!-- --><h3>A wide range of challenges</h3><!-- -->[[File:feature3.jpg|link=]]<p>Use a varied set of towers, traps and [[explosives]] to stop the [[waves]] of creatures that are approaching. Discover all the regions of the Upper-Left Earth, with their unique looks, dangers and inhabitants. </p><!-- --></div><!-- --></div><!-- --></div><!-- --></div><!-- --><div class="content-wrap"><!-- --><div class="box screenshot"><!-- --><h2>Screenshots</h2><!-- --><div><!-- -->[[File:screenshot1.jpg|500px]]<!-- -->[[File:screenshot2.jpg|500px]]<!-- -->[[File:screenshot3.jpg|500px]]<!-- -->[[File:screenshot4.jpg|500px]]<!-- -->[[File:screenshot5.jpg|500px]]<!-- -->[[File:screenshot6.jpg|500px]]<!-- --></div><!-- --></div><!-- --><div class="box comm"><!-- --><h2>Wiki Community</h2><!-- --><div> We are currently maintaining [[Special:Statistics|{{NUMBEROFPAGES}} pages ({{NUMBEROFARTICLES}} articles)]]!<br> <small style="margin-left:2em;">[[Special:Recentchanges|Recent changes]] {{!}} [[Special:Newpages|New pages]] {{!}} [[Special:Wantedpages|Missing pages]]</small> ;How to help : See how you can help contribute to Tavernacle! Wiki! Remember to maintain a standard for grammar and punctuation in your contributions, please. <inputbox> type= create width= 30 placeholder=Title of your article </inputbox> ;[[Special:Userlogin|Register]] : Register an account to keep track of your contributions. </div><!-- --></div><!-- --></div><!-- --><div class="footer note"><div><span>Changes to this main page</span> <span>can be proposed [[Tavernacle! Wiki/editcopy|here]]</span></div></div><!-- -->[[category:{{SITENAME}}]] 81c19ff3efb4bd66462c729259be41a8fb2b65d7